Interface ModifyIpamPolicyAllocationRulesRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<ModifyIpamPolicyAllocationRulesRequest.Builder,,ModifyIpamPolicyAllocationRulesRequest> Ec2Request.Builder,SdkBuilder<ModifyIpamPolicyAllocationRulesRequest.Builder,,ModifyIpamPolicyAllocationRulesRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
ModifyIpamPolicyAllocationRulesRequest
-
Method Summary
Modifier and TypeMethodDescriptionallocationRules(Collection<IpamPolicyAllocationRuleRequest> allocationRules) The new allocation rules to apply to the IPAM policy.allocationRules(Consumer<IpamPolicyAllocationRuleRequest.Builder>... allocationRules) The new allocation rules to apply to the IPAM policy.allocationRules(IpamPolicyAllocationRuleRequest... allocationRules) The new allocation rules to apply to the IPAM policy.A check for whether you have the required permissions for the action without actually making the request and provides an error response.ipamPolicyId(String ipamPolicyId) The ID of the IPAM policy whose allocation rules you want to modify.The locale for which to modify the allocation rules.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.resourceType(String resourceType) The resource type for which to modify the allocation rules.resourceType(IpamPolicyResourceType resourceType) The resource type for which to modify the allocation rules.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.ec2.model.Ec2Request.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
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
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
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
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:
-
-
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:
-
-
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 toallocationRules(List<IpamPolicyAllocationRuleRequest>).- 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:
-
overrideConfiguration
ModifyIpamPolicyAllocationRulesRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
ModifyIpamPolicyAllocationRulesRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-