@Generated(value="software.amazon.awssdk:codegen") public final class InstanceInfo extends Object implements StructuredPojo, ToCopyableBuilder<InstanceInfo.Builder,InstanceInfo>
Information about an on-premises instance.
Modifier and Type | Class and Description |
---|---|
static interface |
InstanceInfo.Builder |
Modifier and Type | Method and Description |
---|---|
static InstanceInfo.Builder |
builder() |
Instant |
deregisterTime()
If the on-premises instance was deregistered, the time at which the on-premises instance was deregistered.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
iamSessionArn()
The ARN of the IAM session associated with the on-premises instance.
|
String |
iamUserArn()
The IAM user ARN associated with the on-premises instance.
|
String |
instanceArn()
The ARN of the on-premises instance.
|
String |
instanceName()
The name of the on-premises instance.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
Instant |
registerTime()
The time at which the on-premises instance was registered.
|
static Class<? extends InstanceInfo.Builder> |
serializableBuilderClass() |
List<Tag> |
tags()
The tags currently associated with the on-premises instance.
|
InstanceInfo.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public String instanceName()
The name of the on-premises instance.
public String iamSessionArn()
The ARN of the IAM session associated with the on-premises instance.
public String iamUserArn()
The IAM user ARN associated with the on-premises instance.
public String instanceArn()
The ARN of the on-premises instance.
public Instant registerTime()
The time at which the on-premises instance was registered.
public Instant deregisterTime()
If the on-premises instance was deregistered, the time at which the on-premises instance was deregistered.
public List<Tag> tags()
The tags currently associated with the on-premises instance.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public InstanceInfo.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<InstanceInfo.Builder,InstanceInfo>
public static InstanceInfo.Builder builder()
public static Class<? extends InstanceInfo.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.