Interface GetNetworkingFlexCostAllocationPolicyVersionsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetNetworkingFlexCostAllocationPolicyVersionsResponse.Builder,,GetNetworkingFlexCostAllocationPolicyVersionsResponse> Ec2Response.Builder,SdkBuilder<GetNetworkingFlexCostAllocationPolicyVersionsResponse.Builder,,GetNetworkingFlexCostAllocationPolicyVersionsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetNetworkingFlexCostAllocationPolicyVersionsResponse
@Mutable
@NotThreadSafe
public static interface GetNetworkingFlexCostAllocationPolicyVersionsResponse.Builder
extends Ec2Response.Builder, SdkPojo, CopyableBuilder<GetNetworkingFlexCostAllocationPolicyVersionsResponse.Builder,GetNetworkingFlexCostAllocationPolicyVersionsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionfcaPolicyVersions(Collection<FlexCostAllocationPolicyVersion> fcaPolicyVersions) Information about the policy versions.fcaPolicyVersions(Consumer<FlexCostAllocationPolicyVersion.Builder>... fcaPolicyVersions) Information about the policy versions.fcaPolicyVersions(FlexCostAllocationPolicyVersion... fcaPolicyVersions) Information about the policy versions.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
-
fcaPolicyVersions
GetNetworkingFlexCostAllocationPolicyVersionsResponse.Builder fcaPolicyVersions(Collection<FlexCostAllocationPolicyVersion> fcaPolicyVersions) Information about the policy versions.
- Parameters:
fcaPolicyVersions- Information about the policy versions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fcaPolicyVersions
GetNetworkingFlexCostAllocationPolicyVersionsResponse.Builder fcaPolicyVersions(FlexCostAllocationPolicyVersion... fcaPolicyVersions) Information about the policy versions.
- Parameters:
fcaPolicyVersions- Information about the policy versions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fcaPolicyVersions
GetNetworkingFlexCostAllocationPolicyVersionsResponse.Builder fcaPolicyVersions(Consumer<FlexCostAllocationPolicyVersion.Builder>... fcaPolicyVersions) Information about the policy versions.
This is a convenience method that creates an instance of theFlexCostAllocationPolicyVersion.Builderavoiding the need to create one manually viaFlexCostAllocationPolicyVersion.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofcaPolicyVersions(List<FlexCostAllocationPolicyVersion>).- Parameters:
fcaPolicyVersions- a consumer that will call methods onFlexCostAllocationPolicyVersion.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-