Interface InstanceInfo.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<InstanceInfo.Builder,InstanceInfo>,SdkBuilder<InstanceInfo.Builder,InstanceInfo>,SdkPojo
- Enclosing class:
- InstanceInfo
public static interface InstanceInfo.Builder extends SdkPojo, CopyableBuilder<InstanceInfo.Builder,InstanceInfo>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description InstanceInfo.BuilderderegisterTime(Instant deregisterTime)If the on-premises instance was deregistered, the time at which the on-premises instance was deregistered.InstanceInfo.BuilderiamSessionArn(String iamSessionArn)The ARN of the IAM session associated with the on-premises instance.InstanceInfo.BuilderiamUserArn(String iamUserArn)The user ARN associated with the on-premises instance.InstanceInfo.BuilderinstanceArn(String instanceArn)The ARN of the on-premises instance.InstanceInfo.BuilderinstanceName(String instanceName)The name of the on-premises instance.InstanceInfo.BuilderregisterTime(Instant registerTime)The time at which the on-premises instance was registered.InstanceInfo.Buildertags(Collection<Tag> tags)The tags currently associated with the on-premises instance.InstanceInfo.Buildertags(Consumer<Tag.Builder>... tags)The tags currently associated with the on-premises instance.InstanceInfo.Buildertags(Tag... tags)The tags currently associated with the on-premises instance.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
instanceName
InstanceInfo.Builder instanceName(String 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
InstanceInfo.Builder iamSessionArn(String 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
InstanceInfo.Builder iamUserArn(String 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
InstanceInfo.Builder instanceArn(String 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
InstanceInfo.Builder registerTime(Instant 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
InstanceInfo.Builder deregisterTime(Instant 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
InstanceInfo.Builder tags(Collection<Tag> 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
InstanceInfo.Builder tags(Tag... 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
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.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#tags(List.) - 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:
#tags(java.util.Collection)
-
-