Interface BatchAssociateResourceResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<BatchAssociateResourceResponse.Builder,,BatchAssociateResourceResponse> FmsResponse.Builder,SdkBuilder<BatchAssociateResourceResponse.Builder,,BatchAssociateResourceResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
BatchAssociateResourceResponse
@Mutable
@NotThreadSafe
public static interface BatchAssociateResourceResponse.Builder
extends FmsResponse.Builder, SdkPojo, CopyableBuilder<BatchAssociateResourceResponse.Builder,BatchAssociateResourceResponse>
-
Method Summary
Modifier and TypeMethodDescriptionfailedItems(Collection<FailedItem> failedItems) The resources that failed to associate to the resource set.failedItems(Consumer<FailedItem.Builder>... failedItems) The resources that failed to associate to the resource set.failedItems(FailedItem... failedItems) The resources that failed to associate to the resource set.resourceSetIdentifier(String resourceSetIdentifier) A unique identifier for the resource set, used in a request to refer to the resource set.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.fms.model.FmsResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
resourceSetIdentifier
A unique identifier for the resource set, used in a request to refer to the resource set.
- Parameters:
resourceSetIdentifier- A unique identifier for the resource set, used in a request to refer to the resource set.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failedItems
The resources that failed to associate to the resource set.
- Parameters:
failedItems- The resources that failed to associate to the resource set.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failedItems
The resources that failed to associate to the resource set.
- Parameters:
failedItems- The resources that failed to associate to the resource set.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failedItems
The resources that failed to associate to the resource set.
This is a convenience method that creates an instance of theFailedItem.Builderavoiding the need to create one manually viaFailedItem.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofailedItems(List<FailedItem>).- Parameters:
failedItems- a consumer that will call methods onFailedItem.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-