Interface AssociateNetworkingFlexCostAllocationPolicyResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<AssociateNetworkingFlexCostAllocationPolicyResponse.Builder,,AssociateNetworkingFlexCostAllocationPolicyResponse> Ec2Response.Builder,SdkBuilder<AssociateNetworkingFlexCostAllocationPolicyResponse.Builder,,AssociateNetworkingFlexCostAllocationPolicyResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
AssociateNetworkingFlexCostAllocationPolicyResponse
-
Method Summary
Modifier and TypeMethodDescriptionfcaPolicyAssociationFailures(Collection<FlexCostAllocationOperationFailure> fcaPolicyAssociationFailures) Information about the network resources that could not be associated with the policy.fcaPolicyAssociationFailures(Consumer<FlexCostAllocationOperationFailure.Builder>... fcaPolicyAssociationFailures) Information about the network resources that could not be associated with the policy.fcaPolicyAssociationFailures(FlexCostAllocationOperationFailure... fcaPolicyAssociationFailures) Information about the network resources that could not be associated with the policy.fcaPolicyAssociations(Collection<FlexCostAllocationPolicyAssociationDescription> fcaPolicyAssociations) Information about the policy associations that were created.fcaPolicyAssociations(Consumer<FlexCostAllocationPolicyAssociationDescription.Builder>... fcaPolicyAssociations) Information about the policy associations that were created.fcaPolicyAssociations(FlexCostAllocationPolicyAssociationDescription... fcaPolicyAssociations) Information about the policy associations that were created.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
-
fcaPolicyAssociations
AssociateNetworkingFlexCostAllocationPolicyResponse.Builder fcaPolicyAssociations(Collection<FlexCostAllocationPolicyAssociationDescription> fcaPolicyAssociations) Information about the policy associations that were created.
- Parameters:
fcaPolicyAssociations- Information about the policy associations that were created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fcaPolicyAssociations
AssociateNetworkingFlexCostAllocationPolicyResponse.Builder fcaPolicyAssociations(FlexCostAllocationPolicyAssociationDescription... fcaPolicyAssociations) Information about the policy associations that were created.
- Parameters:
fcaPolicyAssociations- Information about the policy associations that were created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fcaPolicyAssociations
AssociateNetworkingFlexCostAllocationPolicyResponse.Builder fcaPolicyAssociations(Consumer<FlexCostAllocationPolicyAssociationDescription.Builder>... fcaPolicyAssociations) Information about the policy associations that were created.
This is a convenience method that creates an instance of theFlexCostAllocationPolicyAssociationDescription.Builderavoiding the need to create one manually viaFlexCostAllocationPolicyAssociationDescription.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofcaPolicyAssociations(List<FlexCostAllocationPolicyAssociationDescription>).- Parameters:
fcaPolicyAssociations- a consumer that will call methods onFlexCostAllocationPolicyAssociationDescription.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
fcaPolicyAssociationFailures
AssociateNetworkingFlexCostAllocationPolicyResponse.Builder fcaPolicyAssociationFailures(Collection<FlexCostAllocationOperationFailure> fcaPolicyAssociationFailures) Information about the network resources that could not be associated with the policy.
- Parameters:
fcaPolicyAssociationFailures- Information about the network resources that could not be associated with the policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fcaPolicyAssociationFailures
AssociateNetworkingFlexCostAllocationPolicyResponse.Builder fcaPolicyAssociationFailures(FlexCostAllocationOperationFailure... fcaPolicyAssociationFailures) Information about the network resources that could not be associated with the policy.
- Parameters:
fcaPolicyAssociationFailures- Information about the network resources that could not be associated with the policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fcaPolicyAssociationFailures
AssociateNetworkingFlexCostAllocationPolicyResponse.Builder fcaPolicyAssociationFailures(Consumer<FlexCostAllocationOperationFailure.Builder>... fcaPolicyAssociationFailures) Information about the network resources that could not be associated with the policy.
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 tofcaPolicyAssociationFailures(List<FlexCostAllocationOperationFailure>).- Parameters:
fcaPolicyAssociationFailures- 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:
-