@Generated(value="software.amazon.awssdk:codegen") public final class InstanceAccess extends Object implements SdkPojo, Serializable, ToCopyableBuilder<InstanceAccess.Builder,InstanceAccess>
Information and credentials that you can use to remotely connect to an instance in an EC2 managed fleet. This data type is returned in response to a call to GetInstanceAccess.
| Modifier and Type | Class and Description |
|---|---|
static interface |
InstanceAccess.Builder |
| Modifier and Type | Method and Description |
|---|---|
static InstanceAccess.Builder |
builder() |
InstanceCredentials |
credentials()
Security credentials that are required to access the instance.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
String |
fleetId()
A unique identifier for the fleet containing the instance to be accessed.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
instanceId()
A unique identifier for the instance to be accessed.
|
String |
ipAddress()
IP address assigned to the instance.
|
OperatingSystem |
operatingSystem()
Operating system that is running on the instance.
|
String |
operatingSystemAsString()
Operating system that is running on the instance.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends InstanceAccess.Builder> |
serializableBuilderClass() |
InstanceAccess.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String fleetId()
A unique identifier for the fleet containing the instance to be accessed.
public final String instanceId()
A unique identifier for the instance to be accessed.
public final String ipAddress()
IP address assigned to the instance.
public final OperatingSystem operatingSystem()
Operating system that is running on the instance.
If the service returns an enum value that is not available in the current SDK version, operatingSystem
will return OperatingSystem.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from operatingSystemAsString().
OperatingSystempublic final String operatingSystemAsString()
Operating system that is running on the instance.
If the service returns an enum value that is not available in the current SDK version, operatingSystem
will return OperatingSystem.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from operatingSystemAsString().
OperatingSystempublic final InstanceCredentials credentials()
Security credentials that are required to access the instance.
public InstanceAccess.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<InstanceAccess.Builder,InstanceAccess>public static InstanceAccess.Builder builder()
public static Class<? extends InstanceAccess.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.