@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class InstanceInfo extends Object implements Serializable, Cloneable, StructuredPojo
Information about an on-premises instance.
| Constructor and Description |
|---|
InstanceInfo() |
| Modifier and Type | Method and Description |
|---|---|
InstanceInfo |
clone() |
boolean |
equals(Object obj) |
Date |
getDeregisterTime()
If the on-premises instance was deregistered, the time at which the on-premises instance was deregistered.
|
String |
getIamSessionArn()
The ARN of the IAM session associated with the on-premises instance.
|
String |
getIamUserArn()
The IAM user ARN associated with the on-premises instance.
|
String |
getInstanceArn()
The ARN of the on-premises instance.
|
String |
getInstanceName()
The name of the on-premises instance.
|
Date |
getRegisterTime()
The time at which the on-premises instance was registered.
|
List<Tag> |
getTags()
The tags currently associated with the on-premises instance.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setDeregisterTime(Date deregisterTime)
If the on-premises instance was deregistered, the time at which the on-premises instance was deregistered.
|
void |
setIamSessionArn(String iamSessionArn)
The ARN of the IAM session associated with the on-premises instance.
|
void |
setIamUserArn(String iamUserArn)
The IAM user ARN associated with the on-premises instance.
|
void |
setInstanceArn(String instanceArn)
The ARN of the on-premises instance.
|
void |
setInstanceName(String instanceName)
The name of the on-premises instance.
|
void |
setRegisterTime(Date registerTime)
The time at which the on-premises instance was registered.
|
void |
setTags(Collection<Tag> tags)
The tags currently associated with the on-premises instance.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
InstanceInfo |
withDeregisterTime(Date deregisterTime)
If the on-premises instance was deregistered, the time at which the on-premises instance was deregistered.
|
InstanceInfo |
withIamSessionArn(String iamSessionArn)
The ARN of the IAM session associated with the on-premises instance.
|
InstanceInfo |
withIamUserArn(String iamUserArn)
The IAM user ARN associated with the on-premises instance.
|
InstanceInfo |
withInstanceArn(String instanceArn)
The ARN of the on-premises instance.
|
InstanceInfo |
withInstanceName(String instanceName)
The name of the on-premises instance.
|
InstanceInfo |
withRegisterTime(Date registerTime)
The time at which the on-premises instance was registered.
|
InstanceInfo |
withTags(Collection<Tag> tags)
The tags currently associated with the on-premises instance.
|
InstanceInfo |
withTags(Tag... tags)
The tags currently associated with the on-premises instance.
|
public void setInstanceName(String instanceName)
The name of the on-premises instance.
instanceName - The name of the on-premises instance.public String getInstanceName()
The name of the on-premises instance.
public InstanceInfo withInstanceName(String instanceName)
The name of the on-premises instance.
instanceName - The name of the on-premises instance.public void setIamSessionArn(String iamSessionArn)
The ARN of the IAM session associated with the on-premises instance.
iamSessionArn - The ARN of the IAM session associated with the on-premises instance.public String getIamSessionArn()
The ARN of the IAM session associated with the on-premises instance.
public InstanceInfo withIamSessionArn(String iamSessionArn)
The ARN of the IAM session associated with the on-premises instance.
iamSessionArn - The ARN of the IAM session associated with the on-premises instance.public void setIamUserArn(String iamUserArn)
The IAM user ARN associated with the on-premises instance.
iamUserArn - The IAM user ARN associated with the on-premises instance.public String getIamUserArn()
The IAM user ARN associated with the on-premises instance.
public InstanceInfo withIamUserArn(String iamUserArn)
The IAM user ARN associated with the on-premises instance.
iamUserArn - The IAM user ARN associated with the on-premises instance.public void setInstanceArn(String instanceArn)
The ARN of the on-premises instance.
instanceArn - The ARN of the on-premises instance.public String getInstanceArn()
The ARN of the on-premises instance.
public InstanceInfo withInstanceArn(String instanceArn)
The ARN of the on-premises instance.
instanceArn - The ARN of the on-premises instance.public void setRegisterTime(Date registerTime)
The time at which the on-premises instance was registered.
registerTime - The time at which the on-premises instance was registered.public Date getRegisterTime()
The time at which the on-premises instance was registered.
public InstanceInfo withRegisterTime(Date registerTime)
The time at which the on-premises instance was registered.
registerTime - The time at which the on-premises instance was registered.public void setDeregisterTime(Date deregisterTime)
If the on-premises instance was deregistered, the time at which the on-premises instance was deregistered.
deregisterTime - If the on-premises instance was deregistered, the time at which the on-premises instance was deregistered.public Date getDeregisterTime()
If the on-premises instance was deregistered, the time at which the on-premises instance was deregistered.
public InstanceInfo withDeregisterTime(Date deregisterTime)
If the on-premises instance was deregistered, the time at which the on-premises instance was deregistered.
deregisterTime - If the on-premises instance was deregistered, the time at which the on-premises instance was deregistered.public List<Tag> getTags()
The tags currently associated with the on-premises instance.
public void setTags(Collection<Tag> tags)
The tags currently associated with the on-premises instance.
tags - The tags currently associated with the on-premises instance.public InstanceInfo withTags(Tag... tags)
The tags currently associated with the on-premises instance.
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection) or withTags(java.util.Collection) if you want to override the
existing values.
tags - The tags currently associated with the on-premises instance.public InstanceInfo withTags(Collection<Tag> tags)
The tags currently associated with the on-premises instance.
tags - The tags currently associated with the on-premises instance.public String toString()
toString in class ObjectObject.toString()public InstanceInfo clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2017. All rights reserved.