Interface CreateNetworkInterfacePermissionResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<CreateNetworkInterfacePermissionResponse.Builder,CreateNetworkInterfacePermissionResponse>,Ec2Response.Builder,SdkBuilder<CreateNetworkInterfacePermissionResponse.Builder,CreateNetworkInterfacePermissionResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- CreateNetworkInterfacePermissionResponse
public static interface CreateNetworkInterfacePermissionResponse.Builder extends Ec2Response.Builder, SdkPojo, CopyableBuilder<CreateNetworkInterfacePermissionResponse.Builder,CreateNetworkInterfacePermissionResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default CreateNetworkInterfacePermissionResponse.BuilderinterfacePermission(Consumer<NetworkInterfacePermission.Builder> interfacePermission)Information about the permission for the network interface.CreateNetworkInterfacePermissionResponse.BuilderinterfacePermission(NetworkInterfacePermission interfacePermission)Information about the permission for the network interface.-
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
-
interfacePermission
CreateNetworkInterfacePermissionResponse.Builder interfacePermission(NetworkInterfacePermission interfacePermission)
Information about the permission for the network interface.
- Parameters:
interfacePermission- Information about the permission for the network interface.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
interfacePermission
default CreateNetworkInterfacePermissionResponse.Builder interfacePermission(Consumer<NetworkInterfacePermission.Builder> interfacePermission)
Information about the permission for the network interface.
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 tointerfacePermission(NetworkInterfacePermission).- Parameters:
interfacePermission- 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:
interfacePermission(NetworkInterfacePermission)
-
-