Class InstanceInfo
- All Implemented Interfaces:
Serializable
,Cloneable
Information about an on-premises instance.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
If the on-premises instance was deregistered, the time at which the on-premises instance was deregistered.The IAM user ARN associated with the on-premises instance.The ARN of the on-premises instance.The name of the on-premises instance.The time at which the on-premises instance was registered.getTags()
The tags currently associated with the on-premises instance.int
hashCode()
void
setDeregisterTime
(Date deregisterTime) If the on-premises instance was deregistered, the time at which 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 at which the on-premises instance was registered.void
setTags
(Collection<Tag> tags) The tags currently associated with the on-premises instance.toString()
Returns a string representation of this object; useful for testing and debugging.withDeregisterTime
(Date deregisterTime) If the on-premises instance was deregistered, the time at which the on-premises instance was deregistered.withIamUserArn
(String iamUserArn) The IAM user ARN associated with the on-premises instance.withInstanceArn
(String instanceArn) The ARN of the on-premises instance.withInstanceName
(String instanceName) The name of the on-premises instance.withRegisterTime
(Date registerTime) The time at which the on-premises instance was registered.The tags currently associated with the on-premises instance.withTags
(Collection<Tag> tags) The tags currently associated with the on-premises instance.
-
Constructor Details
-
InstanceInfo
public InstanceInfo()
-
-
Method Details
-
setInstanceName
The name of the on-premises instance.
- Parameters:
instanceName
- The name of the on-premises instance.
-
getInstanceName
The name of the on-premises instance.
- Returns:
- The name of the on-premises instance.
-
withInstanceName
The name of the on-premises instance.
- Parameters:
instanceName
- The name of the on-premises instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setIamUserArn
The IAM user ARN associated with the on-premises instance.
- Parameters:
iamUserArn
- The IAM user ARN associated with the on-premises instance.
-
getIamUserArn
The IAM user ARN associated with the on-premises instance.
- Returns:
- The IAM user ARN associated with the on-premises instance.
-
withIamUserArn
The IAM user ARN associated with the on-premises instance.
- Parameters:
iamUserArn
- The IAM user ARN associated with the on-premises instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setInstanceArn
The ARN of the on-premises instance.
- Parameters:
instanceArn
- The ARN of the on-premises instance.
-
getInstanceArn
The ARN of the on-premises instance.
- Returns:
- The ARN of the on-premises instance.
-
withInstanceArn
The ARN of the on-premises instance.
- Parameters:
instanceArn
- The ARN of the on-premises instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setRegisterTime
The time at which the on-premises instance was registered.
- Parameters:
registerTime
- The time at which the on-premises instance was registered.
-
getRegisterTime
The time at which the on-premises instance was registered.
- Returns:
- The time at which the on-premises instance was registered.
-
withRegisterTime
The time at which the on-premises instance was registered.
- Parameters:
registerTime
- The time at which the on-premises instance was registered.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setDeregisterTime
If the on-premises instance was deregistered, the time at which the on-premises instance was deregistered.
- Parameters:
deregisterTime
- If the on-premises instance was deregistered, the time at which the on-premises instance was deregistered.
-
getDeregisterTime
If the on-premises instance was deregistered, the time at which the on-premises instance was deregistered.
- Returns:
- If the on-premises instance was deregistered, the time at which the on-premises instance was deregistered.
-
withDeregisterTime
If the on-premises instance was deregistered, the time at which the on-premises instance was deregistered.
- Parameters:
deregisterTime
- If the on-premises instance was deregistered, the time at which the on-premises instance was deregistered.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getTags
The tags currently associated with the on-premises instance.
- Returns:
- The tags currently associated with the on-premises instance.
-
setTags
The tags currently associated with the on-premises instance.
- Parameters:
tags
- The tags currently associated with the on-premises instance.
-
withTags
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)
orwithTags(java.util.Collection)
if you want to override the existing values.- Parameters:
tags
- The tags currently associated with the on-premises instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withTags
The tags currently associated with the on-premises instance.
- Parameters:
tags
- The tags currently associated with the on-premises instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-