Interface CreateIpamPolicyResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<CreateIpamPolicyResponse.Builder,CreateIpamPolicyResponse>,Ec2Response.Builder,SdkBuilder<CreateIpamPolicyResponse.Builder,CreateIpamPolicyResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- CreateIpamPolicyResponse
@Mutable @NotThreadSafe public static interface CreateIpamPolicyResponse.Builder extends Ec2Response.Builder, SdkPojo, CopyableBuilder<CreateIpamPolicyResponse.Builder,CreateIpamPolicyResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default CreateIpamPolicyResponse.BuilderipamPolicy(Consumer<IpamPolicy.Builder> ipamPolicy)Information about the created IPAM policy.CreateIpamPolicyResponse.BuilderipamPolicy(IpamPolicy ipamPolicy)Information about the created IPAM policy.-
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
-
ipamPolicy
CreateIpamPolicyResponse.Builder ipamPolicy(IpamPolicy ipamPolicy)
Information about the created IPAM policy.
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:
ipamPolicy- Information about the created IPAM policy.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.
-
ipamPolicy
default CreateIpamPolicyResponse.Builder ipamPolicy(Consumer<IpamPolicy.Builder> ipamPolicy)
Information about the created IPAM policy.
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 toipamPolicy(IpamPolicy).- Parameters:
ipamPolicy- 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:
ipamPolicy(IpamPolicy)
-
-