Interface InstanceInfo.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<InstanceInfo.Builder,,InstanceInfo> SdkBuilder<InstanceInfo.Builder,,InstanceInfo> SdkPojo
- Enclosing class:
InstanceInfo
@Mutable
@NotThreadSafe
public static interface InstanceInfo.Builder
extends SdkPojo, CopyableBuilder<InstanceInfo.Builder,InstanceInfo>
-
Method Summary
Modifier and TypeMethodDescriptionderegisterTime(Instant deregisterTime) If the on-premises instance was deregistered, the time at which the on-premises instance was deregistered.iamSessionArn(String iamSessionArn) The ARN of the IAM session associated with the on-premises instance.iamUserArn(String iamUserArn) The user ARN associated with the on-premises instance.instanceArn(String instanceArn) The ARN of the on-premises instance.instanceName(String instanceName) The name of the on-premises instance.registerTime(Instant registerTime) The time at which the on-premises instance was registered.tags(Collection<Tag> tags) The tags currently associated with the on-premises instance.tags(Consumer<Tag.Builder>... tags) The tags currently associated with the on-premises instance.The tags currently associated with the on-premises instance.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
instanceName
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.
-
iamSessionArn
The ARN of the IAM session associated with the on-premises instance.
- Parameters:
iamSessionArn- The ARN of the IAM session associated with the on-premises instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
iamUserArn
The user ARN associated with the on-premises instance.
- Parameters:
iamUserArn- The user ARN associated with the on-premises instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceArn
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.
-
registerTime
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.
-
deregisterTime
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.
-
tags
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.
-
tags
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.
-
tags
The tags currently associated with the on-premises instance.
This is a convenience method that creates an instance of theTag.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totags(List<Tag>).- Parameters:
tags- a consumer that will call methods onTag.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-