Interface InstanceApplicationStatus.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<InstanceApplicationStatus.Builder,,InstanceApplicationStatus> SdkBuilder<InstanceApplicationStatus.Builder,,InstanceApplicationStatus> SdkPojo
- Enclosing class:
InstanceApplicationStatus
@Mutable
@NotThreadSafe
public static interface InstanceApplicationStatus.Builder
extends SdkPojo, CopyableBuilder<InstanceApplicationStatus.Builder,InstanceApplicationStatus>
-
Method Summary
Modifier and TypeMethodDescriptionapplicationStatus(Consumer<ApplicationStatus.Builder> applicationStatus) The application status for the instance.applicationStatus(ApplicationStatus applicationStatus) The application status for the instance.availabilityZone(String availabilityZone) The Availability Zone of the instance.availabilityZoneId(String availabilityZoneId) The ID of the Availability Zone of the instance.instanceId(String instanceId) The ID of the instance.tags(Collection<Tag> tags) The tags assigned to the instance.tags(Consumer<Tag.Builder>... tags) The tags assigned to the instance.The tags assigned to the 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
-
instanceId
The ID of the instance.
- Parameters:
instanceId- The ID of the instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
availabilityZone
The Availability Zone of the instance.
- Parameters:
availabilityZone- The Availability Zone of the instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
availabilityZoneId
The ID of the Availability Zone of the instance.
- Parameters:
availabilityZoneId- The ID of the Availability Zone of the instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
applicationStatus
The application status for the instance.
- Parameters:
applicationStatus- The application status for the instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
applicationStatus
default InstanceApplicationStatus.Builder applicationStatus(Consumer<ApplicationStatus.Builder> applicationStatus) The application status for the instance.
This is a convenience method that creates an instance of theApplicationStatus.Builderavoiding the need to create one manually viaApplicationStatus.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toapplicationStatus(ApplicationStatus).- Parameters:
applicationStatus- a consumer that will call methods onApplicationStatus.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tags
The tags assigned to the instance.
- Parameters:
tags- The tags assigned to the instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags assigned to the instance.
- Parameters:
tags- The tags assigned to the instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags assigned to the 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:
-