Interface DisassociateNetworkingFlexCostAllocationPolicyResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DisassociateNetworkingFlexCostAllocationPolicyResponse.Builder,,DisassociateNetworkingFlexCostAllocationPolicyResponse> Ec2Response.Builder,SdkBuilder<DisassociateNetworkingFlexCostAllocationPolicyResponse.Builder,,DisassociateNetworkingFlexCostAllocationPolicyResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
DisassociateNetworkingFlexCostAllocationPolicyResponse
@Mutable
@NotThreadSafe
public static interface DisassociateNetworkingFlexCostAllocationPolicyResponse.Builder
extends Ec2Response.Builder, SdkPojo, CopyableBuilder<DisassociateNetworkingFlexCostAllocationPolicyResponse.Builder,DisassociateNetworkingFlexCostAllocationPolicyResponse>
-
Method Summary
Modifier and TypeMethodDescriptionfcaPolicyDisassociationFailures(Collection<FlexCostAllocationOperationFailure> fcaPolicyDisassociationFailures) Information about the policy associations that could not be removed.fcaPolicyDisassociationFailures(Consumer<FlexCostAllocationOperationFailure.Builder>... fcaPolicyDisassociationFailures) Information about the policy associations that could not be removed.fcaPolicyDisassociationFailures(FlexCostAllocationOperationFailure... fcaPolicyDisassociationFailures) Information about the policy associations that could not be removed.fcaPolicyDisassociations(String... fcaPolicyDisassociations) The IDs of the policy associations that were removed.fcaPolicyDisassociations(Collection<String> fcaPolicyDisassociations) The IDs of the policy associations that were removed.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
-
fcaPolicyDisassociations
DisassociateNetworkingFlexCostAllocationPolicyResponse.Builder fcaPolicyDisassociations(Collection<String> fcaPolicyDisassociations) The IDs of the policy associations that were removed.
- Parameters:
fcaPolicyDisassociations- The IDs of the policy associations that were removed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fcaPolicyDisassociations
DisassociateNetworkingFlexCostAllocationPolicyResponse.Builder fcaPolicyDisassociations(String... fcaPolicyDisassociations) The IDs of the policy associations that were removed.
- Parameters:
fcaPolicyDisassociations- The IDs of the policy associations that were removed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fcaPolicyDisassociationFailures
DisassociateNetworkingFlexCostAllocationPolicyResponse.Builder fcaPolicyDisassociationFailures(Collection<FlexCostAllocationOperationFailure> fcaPolicyDisassociationFailures) Information about the policy associations that could not be removed.
- Parameters:
fcaPolicyDisassociationFailures- Information about the policy associations that could not be removed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fcaPolicyDisassociationFailures
DisassociateNetworkingFlexCostAllocationPolicyResponse.Builder fcaPolicyDisassociationFailures(FlexCostAllocationOperationFailure... fcaPolicyDisassociationFailures) Information about the policy associations that could not be removed.
- Parameters:
fcaPolicyDisassociationFailures- Information about the policy associations that could not be removed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fcaPolicyDisassociationFailures
DisassociateNetworkingFlexCostAllocationPolicyResponse.Builder fcaPolicyDisassociationFailures(Consumer<FlexCostAllocationOperationFailure.Builder>... fcaPolicyDisassociationFailures) Information about the policy associations that could not be removed.
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 tofcaPolicyDisassociationFailures(List<FlexCostAllocationOperationFailure>).- Parameters:
fcaPolicyDisassociationFailures- 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:
-