Interface CreateNetworkInterfacePermissionResponse.Builder
- All Superinterfaces:
 AwsResponse.Builder,Buildable,CopyableBuilder<CreateNetworkInterfacePermissionResponse.Builder,,CreateNetworkInterfacePermissionResponse> Ec2Response.Builder,SdkBuilder<CreateNetworkInterfacePermissionResponse.Builder,,CreateNetworkInterfacePermissionResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
 CreateNetworkInterfacePermissionResponse
@Mutable
@NotThreadSafe
public static interface CreateNetworkInterfacePermissionResponse.Builder
extends Ec2Response.Builder, SdkPojo, CopyableBuilder<CreateNetworkInterfacePermissionResponse.Builder,CreateNetworkInterfacePermissionResponse> 
- 
Method Summary
Modifier and TypeMethodDescriptioninterfacePermission(Consumer<NetworkInterfacePermission.Builder> interfacePermission) Information about the permission for the network interface.interfacePermission(NetworkInterfacePermission interfacePermission) Information about the permission for the network interface.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.ec2.model.Ec2Response.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse 
- 
Method Details
- 
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:
 
 
 -