Interface DescribeIpamPoliciesResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeIpamPoliciesResponse.Builder,DescribeIpamPoliciesResponse>,Ec2Response.Builder,SdkBuilder<DescribeIpamPoliciesResponse.Builder,DescribeIpamPoliciesResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- DescribeIpamPoliciesResponse
@Mutable @NotThreadSafe public static interface DescribeIpamPoliciesResponse.Builder extends Ec2Response.Builder, SdkPojo, CopyableBuilder<DescribeIpamPoliciesResponse.Builder,DescribeIpamPoliciesResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DescribeIpamPoliciesResponse.BuilderipamPolicies(Collection<IpamPolicy> ipamPolicies)Information about the IPAM policies.DescribeIpamPoliciesResponse.BuilderipamPolicies(Consumer<IpamPolicy.Builder>... ipamPolicies)Information about the IPAM policies.DescribeIpamPoliciesResponse.BuilderipamPolicies(IpamPolicy... ipamPolicies)Information about the IPAM policies.DescribeIpamPoliciesResponse.BuildernextToken(String nextToken)The token to use to retrieve the next page of results.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.ec2.model.Ec2Response.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
nextToken
DescribeIpamPoliciesResponse.Builder nextToken(String nextToken)
The token to use to retrieve the next page of results. This value is
nullwhen there are no more results to return.- Parameters:
nextToken- The token to use to retrieve the next page of results. This value isnullwhen there are no more results to return.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ipamPolicies
DescribeIpamPoliciesResponse.Builder ipamPolicies(Collection<IpamPolicy> ipamPolicies)
Information about the IPAM policies.
An IPAM policy is a set of rules that define how public IPv4 addresses from IPAM pools are allocated to Amazon Web Services resources. Each rule maps an Amazon Web Services service to IPAM pools that the service will use to get IP addresses. A single policy can have multiple rules and be applied to multiple Amazon Web Services Regions. If the IPAM pool run out of addresses then the services fallback to Amazon-provided IP addresses. A policy can be applied to an individual Amazon Web Services account or an entity within Amazon Web Services Organizations.
- Parameters:
ipamPolicies- Information about the IPAM policies.An IPAM policy is a set of rules that define how public IPv4 addresses from IPAM pools are allocated to Amazon Web Services resources. Each rule maps an Amazon Web Services service to IPAM pools that the service will use to get IP addresses. A single policy can have multiple rules and be applied to multiple Amazon Web Services Regions. If the IPAM pool run out of addresses then the services fallback to Amazon-provided IP addresses. A policy can be applied to an individual Amazon Web Services account or an entity within Amazon Web Services Organizations.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ipamPolicies
DescribeIpamPoliciesResponse.Builder ipamPolicies(IpamPolicy... ipamPolicies)
Information about the IPAM policies.
An IPAM policy is a set of rules that define how public IPv4 addresses from IPAM pools are allocated to Amazon Web Services resources. Each rule maps an Amazon Web Services service to IPAM pools that the service will use to get IP addresses. A single policy can have multiple rules and be applied to multiple Amazon Web Services Regions. If the IPAM pool run out of addresses then the services fallback to Amazon-provided IP addresses. A policy can be applied to an individual Amazon Web Services account or an entity within Amazon Web Services Organizations.
- Parameters:
ipamPolicies- Information about the IPAM policies.An IPAM policy is a set of rules that define how public IPv4 addresses from IPAM pools are allocated to Amazon Web Services resources. Each rule maps an Amazon Web Services service to IPAM pools that the service will use to get IP addresses. A single policy can have multiple rules and be applied to multiple Amazon Web Services Regions. If the IPAM pool run out of addresses then the services fallback to Amazon-provided IP addresses. A policy can be applied to an individual Amazon Web Services account or an entity within Amazon Web Services Organizations.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ipamPolicies
DescribeIpamPoliciesResponse.Builder ipamPolicies(Consumer<IpamPolicy.Builder>... ipamPolicies)
Information about the IPAM policies.
An IPAM policy is a set of rules that define how public IPv4 addresses from IPAM pools are allocated to Amazon Web Services resources. Each rule maps an Amazon Web Services service to IPAM pools that the service will use to get IP addresses. A single policy can have multiple rules and be applied to multiple Amazon Web Services Regions. If the IPAM pool run out of addresses then the services fallback to Amazon-provided IP addresses. A policy can be applied to an individual Amazon Web Services account or an entity within Amazon Web Services Organizations.
This is a convenience method that creates an instance of theIpamPolicy.Builderavoiding the need to create one manually viaIpamPolicy.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#ipamPolicies(List.) - Parameters:
ipamPolicies- a consumer that will call methods onIpamPolicy.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#ipamPolicies(java.util.Collection)
-
-