public static interface InstanceInfo.Builder extends SdkPojo, 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.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, 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 method that creates an instance of theTag.Builder avoiding the need to create one manually
via Tag.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and its
result is passed to #tags(List.
tags - a consumer that will call methods on
Tag.Builder#tags(java.util.Collection) Copyright © 2023. All rights reserved.