Interface ListGroupResourcesItem.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ListGroupResourcesItem.Builder,ListGroupResourcesItem>,SdkBuilder<ListGroupResourcesItem.Builder,ListGroupResourcesItem>,SdkPojo
- Enclosing class:
- ListGroupResourcesItem
public static interface ListGroupResourcesItem.Builder extends SdkPojo, CopyableBuilder<ListGroupResourcesItem.Builder,ListGroupResourcesItem>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default ListGroupResourcesItem.Builderidentifier(Consumer<ResourceIdentifier.Builder> identifier)Sets the value of the Identifier property for this object.ListGroupResourcesItem.Builderidentifier(ResourceIdentifier identifier)Sets the value of the Identifier property for this object.default ListGroupResourcesItem.Builderstatus(Consumer<ResourceStatus.Builder> status)A structure that contains the status of this resource's membership in the group.ListGroupResourcesItem.Builderstatus(ResourceStatus status)A structure that contains the status of this resource's membership in the group.-
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
-
identifier
ListGroupResourcesItem.Builder identifier(ResourceIdentifier identifier)
Sets the value of the Identifier property for this object.- Parameters:
identifier- The new value for the Identifier property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
identifier
default ListGroupResourcesItem.Builder identifier(Consumer<ResourceIdentifier.Builder> identifier)
Sets the value of the Identifier property for this object. This is a convenience method that creates an instance of theResourceIdentifier.Builderavoiding the need to create one manually viaResourceIdentifier.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toidentifier(ResourceIdentifier).- Parameters:
identifier- a consumer that will call methods onResourceIdentifier.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
identifier(ResourceIdentifier)
-
status
ListGroupResourcesItem.Builder status(ResourceStatus status)
A structure that contains the status of this resource's membership in the group.
This field is present in the response only if the group is of type
AWS::EC2::HostManagement.- Parameters:
status- A structure that contains the status of this resource's membership in the group.This field is present in the response only if the group is of type
AWS::EC2::HostManagement.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
default ListGroupResourcesItem.Builder status(Consumer<ResourceStatus.Builder> status)
A structure that contains the status of this resource's membership in the group.
This is a convenience method that creates an instance of theThis field is present in the response only if the group is of type
AWS::EC2::HostManagement.ResourceStatus.Builderavoiding the need to create one manually viaResourceStatus.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tostatus(ResourceStatus).- Parameters:
status- a consumer that will call methods onResourceStatus.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
status(ResourceStatus)
-
-