Interface GetIpamPolicyAllocationRulesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetIpamPolicyAllocationRulesResponse.Builder,,GetIpamPolicyAllocationRulesResponse> Ec2Response.Builder,SdkBuilder<GetIpamPolicyAllocationRulesResponse.Builder,,GetIpamPolicyAllocationRulesResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetIpamPolicyAllocationRulesResponse
-
Method Summary
Modifier and TypeMethodDescriptionipamPolicyDocuments(Collection<IpamPolicyDocument> ipamPolicyDocuments) The IPAM policy documents containing the allocation rules.ipamPolicyDocuments(Consumer<IpamPolicyDocument.Builder>... ipamPolicyDocuments) The IPAM policy documents containing the allocation rules.ipamPolicyDocuments(IpamPolicyDocument... ipamPolicyDocuments) The IPAM policy documents containing the allocation rules.The token to use to retrieve the next page of results.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
-
ipamPolicyDocuments
GetIpamPolicyAllocationRulesResponse.Builder ipamPolicyDocuments(Collection<IpamPolicyDocument> ipamPolicyDocuments) The IPAM policy documents containing the allocation rules.
Allocation rules are optional configurations within an IPAM policy that map Amazon Web Services resource types to specific IPAM pools. If no rules are defined, the resource types default to using Amazon-provided IP addresses.
- Parameters:
ipamPolicyDocuments- The IPAM policy documents containing the allocation rules.Allocation rules are optional configurations within an IPAM policy that map Amazon Web Services resource types to specific IPAM pools. If no rules are defined, the resource types default to using Amazon-provided IP addresses.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ipamPolicyDocuments
GetIpamPolicyAllocationRulesResponse.Builder ipamPolicyDocuments(IpamPolicyDocument... ipamPolicyDocuments) The IPAM policy documents containing the allocation rules.
Allocation rules are optional configurations within an IPAM policy that map Amazon Web Services resource types to specific IPAM pools. If no rules are defined, the resource types default to using Amazon-provided IP addresses.
- Parameters:
ipamPolicyDocuments- The IPAM policy documents containing the allocation rules.Allocation rules are optional configurations within an IPAM policy that map Amazon Web Services resource types to specific IPAM pools. If no rules are defined, the resource types default to using Amazon-provided IP addresses.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ipamPolicyDocuments
GetIpamPolicyAllocationRulesResponse.Builder ipamPolicyDocuments(Consumer<IpamPolicyDocument.Builder>... ipamPolicyDocuments) The IPAM policy documents containing the allocation rules.
Allocation rules are optional configurations within an IPAM policy that map Amazon Web Services resource types to specific IPAM pools. If no rules are defined, the resource types default to using Amazon-provided IP addresses.
This is a convenience method that creates an instance of theIpamPolicyDocument.Builderavoiding the need to create one manually viaIpamPolicyDocument.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toipamPolicyDocuments(List<IpamPolicyDocument>).- Parameters:
ipamPolicyDocuments- a consumer that will call methods onIpamPolicyDocument.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The token to use to retrieve the next page of results.
- Parameters:
nextToken- The token to use to retrieve the next page of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-