Interface ModifyIpamPolicyAllocationRulesRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<ModifyIpamPolicyAllocationRulesRequest.Builder,ModifyIpamPolicyAllocationRulesRequest>,Ec2Request.Builder,SdkBuilder<ModifyIpamPolicyAllocationRulesRequest.Builder,ModifyIpamPolicyAllocationRulesRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- ModifyIpamPolicyAllocationRulesRequest
@Mutable @NotThreadSafe public static interface ModifyIpamPolicyAllocationRulesRequest.Builder extends Ec2Request.Builder, SdkPojo, CopyableBuilder<ModifyIpamPolicyAllocationRulesRequest.Builder,ModifyIpamPolicyAllocationRulesRequest>
-
-
Method Summary
-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.ec2.model.Ec2Request.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
dryRun
ModifyIpamPolicyAllocationRulesRequest.Builder dryRun(Boolean dryRun)
A check for whether you have the required permissions for the action without actually making the request and provides an error response. If you have the required permissions, the error response is
DryRunOperation. Otherwise, it isUnauthorizedOperation.- Parameters:
dryRun- A check for whether you have the required permissions for the action without actually making the request and provides an error response. If you have the required permissions, the error response isDryRunOperation. Otherwise, it isUnauthorizedOperation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ipamPolicyId
ModifyIpamPolicyAllocationRulesRequest.Builder ipamPolicyId(String ipamPolicyId)
The ID of the IPAM policy whose allocation rules you want to modify.
- Parameters:
ipamPolicyId- The ID of the IPAM policy whose allocation rules you want to modify.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
locale
ModifyIpamPolicyAllocationRulesRequest.Builder locale(String locale)
The locale for which to modify the allocation rules.
- Parameters:
locale- The locale for which to modify the allocation rules.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceType
ModifyIpamPolicyAllocationRulesRequest.Builder resourceType(String resourceType)
The resource type for which to modify the allocation rules.
The Amazon Web Services service or resource type that can use IP addresses through IPAM policies. Supported services and resource types include:
-
Elastic IP addresses
- Parameters:
resourceType- The resource type for which to modify the allocation rules.The Amazon Web Services service or resource type that can use IP addresses through IPAM policies. Supported services and resource types include:
-
Elastic IP addresses
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
IpamPolicyResourceType,IpamPolicyResourceType
-
-
resourceType
ModifyIpamPolicyAllocationRulesRequest.Builder resourceType(IpamPolicyResourceType resourceType)
The resource type for which to modify the allocation rules.
The Amazon Web Services service or resource type that can use IP addresses through IPAM policies. Supported services and resource types include:
-
Elastic IP addresses
- Parameters:
resourceType- The resource type for which to modify the allocation rules.The Amazon Web Services service or resource type that can use IP addresses through IPAM policies. Supported services and resource types include:
-
Elastic IP addresses
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
IpamPolicyResourceType,IpamPolicyResourceType
-
-
allocationRules
ModifyIpamPolicyAllocationRulesRequest.Builder allocationRules(Collection<IpamPolicyAllocationRuleRequest> allocationRules)
The new allocation rules to apply to the IPAM policy.
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:
allocationRules- The new allocation rules to apply to the IPAM policy.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.
-
allocationRules
ModifyIpamPolicyAllocationRulesRequest.Builder allocationRules(IpamPolicyAllocationRuleRequest... allocationRules)
The new allocation rules to apply to the IPAM policy.
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:
allocationRules- The new allocation rules to apply to the IPAM policy.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.
-
allocationRules
ModifyIpamPolicyAllocationRulesRequest.Builder allocationRules(Consumer<IpamPolicyAllocationRuleRequest.Builder>... allocationRules)
The new allocation rules to apply to the IPAM policy.
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 theIpamPolicyAllocationRuleRequest.Builderavoiding the need to create one manually viaIpamPolicyAllocationRuleRequest.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#allocationRules(List.) - Parameters:
allocationRules- a consumer that will call methods onIpamPolicyAllocationRuleRequest.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#allocationRules(java.util.Collection)
-
overrideConfiguration
ModifyIpamPolicyAllocationRulesRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
ModifyIpamPolicyAllocationRulesRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-