@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)
Indicates whether some other object is "equal to" this one by SDK fields.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasCapabilityList()
Returns true if the CapabilityList property was specified by the sender (it may be empty), or false if the sender
did not specify the value (it will be empty).
|
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()
Take this object and create a builder that contains all of the current property values of this object.
|
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.
|
copy
public 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()
.
ConnectorStatus
public 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()
.
ConnectorStatus
public final List<ConnectorCapability> capabilityList()
The capabilities of the connector.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasCapabilityList()
to see if a value was sent in this field.
public final boolean hasCapabilityList()
public final List<String> capabilityListAsStrings()
The capabilities of the connector.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasCapabilityList()
to see if a value was sent in this field.
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()
.
VmManagerType
public 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()
.
VmManagerType
public 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()
ToCopyableBuilder
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)
SdkPojo
SdkPojo
class,
and is generated based on a service model.
If an SdkPojo
class does not have any inherited fields, equalsBySdkFields
and equals
are essentially the same.
equalsBySdkFields
in interface SdkPojo
obj
- the object to be compared withpublic final String toString()