@Generated(value="software.amazon.awssdk:codegen") public final class Connector extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Connector.Builder,Connector>
Represents a connector.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Connector.Builder |
| Modifier and Type | Method and Description |
|---|---|
Instant |
associatedOn()
The time the connector was associated.
|
static Connector.Builder |
builder() |
List<ConnectorCapability> |
capabilityList()
The capabilities of the connector.
|
List<String> |
capabilityListAsStrings()
The capabilities of the connector.
|
String |
connectorId()
The ID of the connector.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasCapabilityList()
For responses, this returns true if the service returned a value for the CapabilityList property.
|
int |
hashCode() |
String |
ipAddress()
The IP address of the connector.
|
String |
macAddress()
The MAC address of the connector.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends Connector.Builder> |
serializableBuilderClass() |
ConnectorStatus |
status()
The status of the connector.
|
String |
statusAsString()
The status of the connector.
|
Connector.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
version()
The connector version.
|
String |
vmManagerId()
The ID of the VM manager.
|
String |
vmManagerName()
The name of the VM manager.
|
VmManagerType |
vmManagerType()
The VM management product.
|
String |
vmManagerTypeAsString()
The VM management product.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String connectorId()
The ID of the connector.
public final String version()
The connector version.
public final ConnectorStatus status()
The status of the connector.
If the service returns an enum value that is not available in the current SDK version, status will
return ConnectorStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
statusAsString().
ConnectorStatuspublic final String statusAsString()
The status of the connector.
If the service returns an enum value that is not available in the current SDK version, status will
return ConnectorStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
statusAsString().
ConnectorStatuspublic final List<ConnectorCapability> capabilityList()
The capabilities of the connector.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasCapabilityList() method.
public final boolean hasCapabilityList()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final List<String> capabilityListAsStrings()
The capabilities of the connector.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasCapabilityList() method.
public final String vmManagerName()
The name of the VM manager.
public final VmManagerType vmManagerType()
The VM management product.
If the service returns an enum value that is not available in the current SDK version, vmManagerType
will return VmManagerType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
vmManagerTypeAsString().
VmManagerTypepublic final String vmManagerTypeAsString()
The VM management product.
If the service returns an enum value that is not available in the current SDK version, vmManagerType
will return VmManagerType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
vmManagerTypeAsString().
VmManagerTypepublic final String vmManagerId()
The ID of the VM manager.
public final String ipAddress()
The IP address of the connector.
public final String macAddress()
The MAC address of the connector.
public final Instant associatedOn()
The time the connector was associated.
public Connector.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<Connector.Builder,Connector>public static Connector.Builder builder()
public static Class<? extends Connector.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.