Interface DescribeNetworkInterfacePermissionsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeNetworkInterfacePermissionsResponse.Builder,DescribeNetworkInterfacePermissionsResponse>,Ec2Response.Builder,SdkBuilder<DescribeNetworkInterfacePermissionsResponse.Builder,DescribeNetworkInterfacePermissionsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- DescribeNetworkInterfacePermissionsResponse
@Mutable @NotThreadSafe public static interface DescribeNetworkInterfacePermissionsResponse.Builder extends Ec2Response.Builder, SdkPojo, CopyableBuilder<DescribeNetworkInterfacePermissionsResponse.Builder,DescribeNetworkInterfacePermissionsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DescribeNetworkInterfacePermissionsResponse.BuildernetworkInterfacePermissions(Collection<NetworkInterfacePermission> networkInterfacePermissions)The network interface permissions.DescribeNetworkInterfacePermissionsResponse.BuildernetworkInterfacePermissions(Consumer<NetworkInterfacePermission.Builder>... networkInterfacePermissions)The network interface permissions.DescribeNetworkInterfacePermissionsResponse.BuildernetworkInterfacePermissions(NetworkInterfacePermission... networkInterfacePermissions)The network interface permissions.DescribeNetworkInterfacePermissionsResponse.BuildernextToken(String nextToken)The token to include in another request to get the next page of items.-
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
-
networkInterfacePermissions
DescribeNetworkInterfacePermissionsResponse.Builder networkInterfacePermissions(Collection<NetworkInterfacePermission> networkInterfacePermissions)
The network interface permissions.
- Parameters:
networkInterfacePermissions- The network interface permissions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
networkInterfacePermissions
DescribeNetworkInterfacePermissionsResponse.Builder networkInterfacePermissions(NetworkInterfacePermission... networkInterfacePermissions)
The network interface permissions.
- Parameters:
networkInterfacePermissions- The network interface permissions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
networkInterfacePermissions
DescribeNetworkInterfacePermissionsResponse.Builder networkInterfacePermissions(Consumer<NetworkInterfacePermission.Builder>... networkInterfacePermissions)
The network interface permissions.
This is a convenience method that creates an instance of theNetworkInterfacePermission.Builderavoiding the need to create one manually viaNetworkInterfacePermission.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#networkInterfacePermissions(List.) - Parameters:
networkInterfacePermissions- a consumer that will call methods onNetworkInterfacePermission.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#networkInterfacePermissions(java.util.Collection)
-
nextToken
DescribeNetworkInterfacePermissionsResponse.Builder nextToken(String nextToken)
The token to include in another request to get the next page of items. This value is
nullwhen there are no more items to return.- Parameters:
nextToken- The token to include in another request to get the next page of items. This value isnullwhen there are no more items to return.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-