CopyableBuilder<ModifyNetworkInterfaceAttributeRequest.Builder,ModifyNetworkInterfaceAttributeRequest>
, SdkBuilder<ModifyNetworkInterfaceAttributeRequest.Builder,ModifyNetworkInterfaceAttributeRequest>
public static interface ModifyNetworkInterfaceAttributeRequest.Builder extends CopyableBuilder<ModifyNetworkInterfaceAttributeRequest.Builder,ModifyNetworkInterfaceAttributeRequest>
Modifier and Type | Method | Description |
---|---|---|
ModifyNetworkInterfaceAttributeRequest.Builder |
attachment(NetworkInterfaceAttachmentChanges attachment) |
Information about the interface attachment.
|
ModifyNetworkInterfaceAttributeRequest.Builder |
description(String description) |
A description for the network interface.
|
ModifyNetworkInterfaceAttributeRequest.Builder |
groups(String... groups) |
Changes the security groups for the network interface.
|
ModifyNetworkInterfaceAttributeRequest.Builder |
groups(Collection<String> groups) |
Changes the security groups for the network interface.
|
ModifyNetworkInterfaceAttributeRequest.Builder |
networkInterfaceId(String networkInterfaceId) |
The ID of the network interface.
|
ModifyNetworkInterfaceAttributeRequest.Builder |
sourceDestCheck(Boolean sourceDestCheck) |
Indicates whether source/destination checking is enabled.
|
copy
apply, build
ModifyNetworkInterfaceAttributeRequest.Builder attachment(NetworkInterfaceAttachmentChanges attachment)
Information about the interface attachment. If modifying the 'delete on termination' attribute, you must specify the ID of the interface attachment.
attachment
- Information about the interface attachment. If modifying the 'delete on termination' attribute, you
must specify the ID of the interface attachment.ModifyNetworkInterfaceAttributeRequest.Builder description(String description)
A description for the network interface.
description
- A description for the network interface.ModifyNetworkInterfaceAttributeRequest.Builder groups(Collection<String> groups)
Changes the security groups for the network interface. The new set of groups you specify replaces the current set. You must specify at least one group, even if it's just the default security group in the VPC. You must specify the ID of the security group, not the name.
groups
- Changes the security groups for the network interface. The new set of groups you specify replaces the
current set. You must specify at least one group, even if it's just the default security group in the
VPC. You must specify the ID of the security group, not the name.ModifyNetworkInterfaceAttributeRequest.Builder groups(String... groups)
Changes the security groups for the network interface. The new set of groups you specify replaces the current set. You must specify at least one group, even if it's just the default security group in the VPC. You must specify the ID of the security group, not the name.
NOTE: This method appends the values to the existing list (if any). Use
#setGroups(java.util.Collection)
or #withGroups(java.util.Collection)
if you want to override
the existing values.
groups
- Changes the security groups for the network interface. The new set of groups you specify replaces the
current set. You must specify at least one group, even if it's just the default security group in the
VPC. You must specify the ID of the security group, not the name.ModifyNetworkInterfaceAttributeRequest.Builder networkInterfaceId(String networkInterfaceId)
The ID of the network interface.
networkInterfaceId
- The ID of the network interface.ModifyNetworkInterfaceAttributeRequest.Builder sourceDestCheck(Boolean sourceDestCheck)
Indicates whether source/destination checking is enabled. A value of true
means checking is
enabled, and false
means checking is disabled. This value must be false
for a NAT
instance to perform NAT. For more information, see NAT Instances in the
Amazon Virtual Private Cloud User Guide.
sourceDestCheck
- Indicates whether source/destination checking is enabled. A value of true
means checking
is enabled, and false
means checking is disabled. This value must be false
for a NAT instance to perform NAT. For more information, see NAT Instances
in the Amazon Virtual Private Cloud User Guide.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.