Interface GetIpamPolicyAllocationRulesRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<GetIpamPolicyAllocationRulesRequest.Builder,,GetIpamPolicyAllocationRulesRequest> Ec2Request.Builder,SdkBuilder<GetIpamPolicyAllocationRulesRequest.Builder,,GetIpamPolicyAllocationRulesRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
GetIpamPolicyAllocationRulesRequest
-
Method Summary
Modifier and TypeMethodDescriptionA check for whether you have the required permissions for the action without actually making the request and provides an error response.filters(Collection<Filter> filters) One or more filters for the allocation rules.filters(Consumer<Filter.Builder>... filters) One or more filters for the allocation rules.One or more filters for the allocation rules.ipamPolicyId(String ipamPolicyId) The ID of the IPAM policy for which to get allocation rules.The locale for which to get the allocation rules.maxResults(Integer maxResults) The maximum number of results to return in a single call.The token for the next page of results.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 get the allocation rules.resourceType(IpamPolicyResourceType resourceType) The resource type for which to get 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 for which to get allocation rules.
- Parameters:
ipamPolicyId- The ID of the IPAM policy for which to get allocation rules.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
One or more filters for the allocation rules.
- Parameters:
filters- One or more filters for the allocation rules.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
One or more filters for the allocation rules.
- Parameters:
filters- One or more filters for the allocation rules.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
One or more filters for the allocation rules.
This is a convenience method that creates an instance of theFilter.Builderavoiding the need to create one manually viaFilter.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofilters(List<Filter>).- Parameters:
filters- a consumer that will call methods onFilter.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
locale
The locale for which to get the allocation rules.
- Parameters:
locale- The locale for which to get 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 get 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 get 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 get 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 get 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:
-
-
maxResults
The maximum number of results to return in a single call.
- Parameters:
maxResults- The maximum number of results to return in a single call.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
The token for the next page of results.
- Parameters:
nextToken- The token for the next page of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
GetIpamPolicyAllocationRulesRequest.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
GetIpamPolicyAllocationRulesRequest.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.
-