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.Builder
identifier
(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.Builder
status
(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
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 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.Builder
avoiding the need to create one manually viaResourceIdentifier.builder()
.When the
Consumer
completes,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 field is present in the response only if the group is of type
AWS::EC2::HostManagement
.ResourceStatus.Builder
avoiding the need to create one manually viaResourceStatus.builder()
.When the
Consumer
completes,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:
-