public class InstanceInfo extends Object implements Serializable, Cloneable
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 that the
on-premises instance was deregistered.
|
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 that the on-premises instance was registered.
|
List<Tag> |
getTags()
Information about the tags for the on-premises instance.
|
int |
hashCode() |
void |
setDeregisterTime(Date deregisterTime)
If the on-premises instance was deregistered, the time that the
on-premises instance was deregistered.
|
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 that the on-premises instance was registered.
|
void |
setTags(Collection<Tag> tags)
Information about the tags for 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 that the
on-premises instance was deregistered.
|
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 that the on-premises instance was registered.
|
InstanceInfo |
withTags(Collection<Tag> tags)
Information about the tags for the on-premises instance.
|
InstanceInfo |
withTags(Tag... tags)
Information about the tags for 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 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 that the on-premises instance was registered.
registerTime
- The time that the on-premises instance was registered.public Date getRegisterTime()
The time that the on-premises instance was registered.
public InstanceInfo withRegisterTime(Date registerTime)
The time that the on-premises instance was registered.
registerTime
- The time that the on-premises instance was registered.public void setDeregisterTime(Date deregisterTime)
If the on-premises instance was deregistered, the time that the on-premises instance was deregistered.
deregisterTime
- If the on-premises instance was deregistered, the time that the
on-premises instance was deregistered.public Date getDeregisterTime()
If the on-premises instance was deregistered, the time that the on-premises instance was deregistered.
public InstanceInfo withDeregisterTime(Date deregisterTime)
If the on-premises instance was deregistered, the time that the on-premises instance was deregistered.
deregisterTime
- If the on-premises instance was deregistered, the time that the
on-premises instance was deregistered.public List<Tag> getTags()
Information about the tags for the on-premises instance.
public void setTags(Collection<Tag> tags)
Information about the tags for the on-premises instance.
tags
- Information about the tags for the on-premises instance.public InstanceInfo withTags(Tag... tags)
Information about the tags for the on-premises instance.
tags
- Information about the tags for the on-premises instance.public InstanceInfo withTags(Collection<Tag> tags)
Information about the tags for the on-premises instance.
tags
- Information about the tags for the on-premises instance.public String toString()
toString
in class Object
Object.toString()
public InstanceInfo clone()
Copyright © 2015. All rights reserved.