Interface DescribeNetworkInterfacePermissionsRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<DescribeNetworkInterfacePermissionsRequest.Builder,DescribeNetworkInterfacePermissionsRequest>
,Ec2Request.Builder
,SdkBuilder<DescribeNetworkInterfacePermissionsRequest.Builder,DescribeNetworkInterfacePermissionsRequest>
,SdkPojo
,SdkRequest.Builder
- Enclosing class:
- DescribeNetworkInterfacePermissionsRequest
public static interface DescribeNetworkInterfacePermissionsRequest.Builder extends Ec2Request.Builder, SdkPojo, CopyableBuilder<DescribeNetworkInterfacePermissionsRequest.Builder,DescribeNetworkInterfacePermissionsRequest>
-
-
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, sdkFields
-
-
-
-
Method Detail
-
networkInterfacePermissionIds
DescribeNetworkInterfacePermissionsRequest.Builder networkInterfacePermissionIds(Collection<String> networkInterfacePermissionIds)
The network interface permission IDs.
- Parameters:
networkInterfacePermissionIds
- The network interface permission IDs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
networkInterfacePermissionIds
DescribeNetworkInterfacePermissionsRequest.Builder networkInterfacePermissionIds(String... networkInterfacePermissionIds)
The network interface permission IDs.
- Parameters:
networkInterfacePermissionIds
- The network interface permission IDs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
DescribeNetworkInterfacePermissionsRequest.Builder filters(Collection<Filter> filters)
One or more filters.
-
network-interface-permission.network-interface-permission-id
- The ID of the permission. -
network-interface-permission.network-interface-id
- The ID of the network interface. -
network-interface-permission.aws-account-id
- The Amazon Web Services account ID. -
network-interface-permission.aws-service
- The Amazon Web Service. -
network-interface-permission.permission
- The type of permission (INSTANCE-ATTACH
|EIP-ASSOCIATE
).
- Parameters:
filters
- One or more filters.-
network-interface-permission.network-interface-permission-id
- The ID of the permission. -
network-interface-permission.network-interface-id
- The ID of the network interface. -
network-interface-permission.aws-account-id
- The Amazon Web Services account ID. -
network-interface-permission.aws-service
- The Amazon Web Service. -
network-interface-permission.permission
- The type of permission (INSTANCE-ATTACH
|EIP-ASSOCIATE
).
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
filters
DescribeNetworkInterfacePermissionsRequest.Builder filters(Filter... filters)
One or more filters.
-
network-interface-permission.network-interface-permission-id
- The ID of the permission. -
network-interface-permission.network-interface-id
- The ID of the network interface. -
network-interface-permission.aws-account-id
- The Amazon Web Services account ID. -
network-interface-permission.aws-service
- The Amazon Web Service. -
network-interface-permission.permission
- The type of permission (INSTANCE-ATTACH
|EIP-ASSOCIATE
).
- Parameters:
filters
- One or more filters.-
network-interface-permission.network-interface-permission-id
- The ID of the permission. -
network-interface-permission.network-interface-id
- The ID of the network interface. -
network-interface-permission.aws-account-id
- The Amazon Web Services account ID. -
network-interface-permission.aws-service
- The Amazon Web Service. -
network-interface-permission.permission
- The type of permission (INSTANCE-ATTACH
|EIP-ASSOCIATE
).
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
filters
DescribeNetworkInterfacePermissionsRequest.Builder filters(Consumer<Filter.Builder>... filters)
One or more filters.
-
network-interface-permission.network-interface-permission-id
- The ID of the permission. -
network-interface-permission.network-interface-id
- The ID of the network interface. -
network-interface-permission.aws-account-id
- The Amazon Web Services account ID. -
network-interface-permission.aws-service
- The Amazon Web Service. -
network-interface-permission.permission
- The type of permission (INSTANCE-ATTACH
|EIP-ASSOCIATE
).
Filter.Builder
avoiding the need to create one manually viaFilter.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed to#filters(List
.) - 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:
#filters(java.util.Collection
)
-
-
nextToken
DescribeNetworkInterfacePermissionsRequest.Builder nextToken(String nextToken)
The token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.
- Parameters:
nextToken
- The token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxResults
DescribeNetworkInterfacePermissionsRequest.Builder maxResults(Integer maxResults)
The maximum number of items to return for this request. To get the next page of items, make another request with the token returned in the output. If this parameter is not specified, up to 50 results are returned by default. For more information, see Pagination.
- Parameters:
maxResults
- The maximum number of items to return for this request. To get the next page of items, make another request with the token returned in the output. If this parameter is not specified, up to 50 results are returned by default. For more information, see Pagination.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
DescribeNetworkInterfacePermissionsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
overrideConfiguration
DescribeNetworkInterfacePermissionsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
-