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
Modifier and TypeMethodDescriptiondefault ListGroupResourcesItem.Builderidentifier(Consumer<ResourceIdentifier.Builder> identifier) Sets the value of the Identifier property for this object.identifier(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.status(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
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
-
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
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:
-
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
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:
-