public static interface InstanceInfo.Builder extends CopyableBuilder<InstanceInfo.Builder,InstanceInfo>
| Modifier and Type | Method and Description |
|---|---|
InstanceInfo.Builder |
deregisterTime(Instant deregisterTime)
If the on-premises instance was deregistered, the time at which the on-premises instance was deregistered.
|
InstanceInfo.Builder |
iamSessionArn(String iamSessionArn)
The ARN of the IAM session associated with the on-premises instance.
|
InstanceInfo.Builder |
iamUserArn(String iamUserArn)
The IAM user ARN associated with the on-premises instance.
|
InstanceInfo.Builder |
instanceArn(String instanceArn)
The ARN of the on-premises instance.
|
InstanceInfo.Builder |
instanceName(String instanceName)
The name of the on-premises instance.
|
InstanceInfo.Builder |
registerTime(Instant registerTime)
The time at which the on-premises instance was registered.
|
InstanceInfo.Builder |
tags(Collection<Tag> tags)
The tags currently associated with the on-premises instance.
|
InstanceInfo.Builder |
tags(Consumer<Tag.Builder>... tags)
The tags currently associated with the on-premises instance.
|
InstanceInfo.Builder |
tags(Tag... tags)
The tags currently associated with the on-premises instance.
|
copyapply, buildInstanceInfo.Builder instanceName(String instanceName)
The name of the on-premises instance.
instanceName - The name of the on-premises instance.InstanceInfo.Builder iamSessionArn(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.InstanceInfo.Builder iamUserArn(String iamUserArn)
The IAM user ARN associated with the on-premises instance.
iamUserArn - The IAM user ARN associated with the on-premises instance.InstanceInfo.Builder instanceArn(String instanceArn)
The ARN of the on-premises instance.
instanceArn - The ARN of the on-premises instance.InstanceInfo.Builder registerTime(Instant registerTime)
The time at which the on-premises instance was registered.
registerTime - The time at which the on-premises instance was registered.InstanceInfo.Builder deregisterTime(Instant 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.InstanceInfo.Builder tags(Collection<Tag> tags)
The tags currently associated with the on-premises instance.
tags - The tags currently associated with the on-premises instance.InstanceInfo.Builder tags(Tag... tags)
The tags currently associated with the on-premises instance.
tags - The tags currently associated with the on-premises instance.InstanceInfo.Builder tags(Consumer<Tag.Builder>... tags)
The tags currently associated with the on-premises instance.
This is a convenience that creates an instance of theList.Builder avoiding the need to create
one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called immediately and its result
is passed to #tags(List) .tags - a consumer that will call methods on List.Builder #tags(List) Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.