Interface DeleteNetworkingFlexCostAllocationPoliciesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DeleteNetworkingFlexCostAllocationPoliciesResponse.Builder,,DeleteNetworkingFlexCostAllocationPoliciesResponse> Ec2Response.Builder,SdkBuilder<DeleteNetworkingFlexCostAllocationPoliciesResponse.Builder,,DeleteNetworkingFlexCostAllocationPoliciesResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
DeleteNetworkingFlexCostAllocationPoliciesResponse
@Mutable
@NotThreadSafe
public static interface DeleteNetworkingFlexCostAllocationPoliciesResponse.Builder
extends Ec2Response.Builder, SdkPojo, CopyableBuilder<DeleteNetworkingFlexCostAllocationPoliciesResponse.Builder,DeleteNetworkingFlexCostAllocationPoliciesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionInformation about the policies that could not be deleted.failed(Consumer<FlexCostAllocationOperationFailure.Builder>... failed) Information about the policies that could not be deleted.failed(FlexCostAllocationOperationFailure... failed) Information about the policies that could not be deleted.successful(String... successful) The IDs of the policies that were successfully deleted.successful(Collection<String> successful) The IDs of the policies that were successfully deleted.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.ec2.model.Ec2Response.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
-
successful
DeleteNetworkingFlexCostAllocationPoliciesResponse.Builder successful(Collection<String> successful) The IDs of the policies that were successfully deleted.
- Parameters:
successful- The IDs of the policies that were successfully deleted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
successful
The IDs of the policies that were successfully deleted.
- Parameters:
successful- The IDs of the policies that were successfully deleted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failed
DeleteNetworkingFlexCostAllocationPoliciesResponse.Builder failed(Collection<FlexCostAllocationOperationFailure> failed) Information about the policies that could not be deleted.
- Parameters:
failed- Information about the policies that could not be deleted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failed
DeleteNetworkingFlexCostAllocationPoliciesResponse.Builder failed(FlexCostAllocationOperationFailure... failed) Information about the policies that could not be deleted.
- Parameters:
failed- Information about the policies that could not be deleted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failed
DeleteNetworkingFlexCostAllocationPoliciesResponse.Builder failed(Consumer<FlexCostAllocationOperationFailure.Builder>... failed) Information about the policies that could not be deleted.
This is a convenience method that creates an instance of theFlexCostAllocationOperationFailure.Builderavoiding the need to create one manually viaFlexCostAllocationOperationFailure.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofailed(List<FlexCostAllocationOperationFailure>).- Parameters:
failed- a consumer that will call methods onFlexCostAllocationOperationFailure.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-