@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ModifyNetworkInterfaceAttributeRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<ModifyNetworkInterfaceAttributeRequest>
Contains the parameters for ModifyNetworkInterfaceAttribute.
NOOP| Constructor and Description |
|---|
ModifyNetworkInterfaceAttributeRequest() |
| Modifier and Type | Method and Description |
|---|---|
ModifyNetworkInterfaceAttributeRequest |
clone() |
boolean |
equals(Object obj) |
NetworkInterfaceAttachmentChanges |
getAttachment()
Information about the interface attachment.
|
String |
getDescription()
A description for the network interface.
|
Request<ModifyNetworkInterfaceAttributeRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
List<String> |
getGroups()
Changes the security groups for the network interface.
|
String |
getNetworkInterfaceId()
The ID of the network interface.
|
Boolean |
getSourceDestCheck()
Indicates whether source/destination checking is enabled.
|
int |
hashCode() |
Boolean |
isSourceDestCheck()
Indicates whether source/destination checking is enabled.
|
void |
setAttachment(NetworkInterfaceAttachmentChanges attachment)
Information about the interface attachment.
|
void |
setDescription(String description)
A description for the network interface.
|
void |
setGroups(Collection<String> groups)
Changes the security groups for the network interface.
|
void |
setNetworkInterfaceId(String networkInterfaceId)
The ID of the network interface.
|
void |
setSourceDestCheck(Boolean sourceDestCheck)
Indicates whether source/destination checking is enabled.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
ModifyNetworkInterfaceAttributeRequest |
withAttachment(NetworkInterfaceAttachmentChanges attachment)
Information about the interface attachment.
|
ModifyNetworkInterfaceAttributeRequest |
withDescription(String description)
A description for the network interface.
|
ModifyNetworkInterfaceAttributeRequest |
withGroups(Collection<String> groups)
Changes the security groups for the network interface.
|
ModifyNetworkInterfaceAttributeRequest |
withGroups(String... groups)
Changes the security groups for the network interface.
|
ModifyNetworkInterfaceAttributeRequest |
withNetworkInterfaceId(String networkInterfaceId)
The ID of the network interface.
|
ModifyNetworkInterfaceAttributeRequest |
withSourceDestCheck(Boolean sourceDestCheck)
Indicates whether source/destination checking is enabled.
|
addHandlerContext, copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic ModifyNetworkInterfaceAttributeRequest()
public void setAttachment(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.public NetworkInterfaceAttachmentChanges getAttachment()
Information about the interface attachment. If modifying the 'delete on termination' attribute, you must specify the ID of the interface attachment.
public ModifyNetworkInterfaceAttributeRequest withAttachment(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.public void setDescription(String description)
A description for the network interface.
description - A description for the network interface.public String getDescription()
A description for the network interface.
public ModifyNetworkInterfaceAttributeRequest withDescription(String description)
A description for the network interface.
description - A description for the network interface.public List<String> getGroups()
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.
public void setGroups(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.public ModifyNetworkInterfaceAttributeRequest withGroups(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.public ModifyNetworkInterfaceAttributeRequest withGroups(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.public void setNetworkInterfaceId(String networkInterfaceId)
The ID of the network interface.
networkInterfaceId - The ID of the network interface.public String getNetworkInterfaceId()
The ID of the network interface.
public ModifyNetworkInterfaceAttributeRequest withNetworkInterfaceId(String networkInterfaceId)
The ID of the network interface.
networkInterfaceId - The ID of the network interface.public void setSourceDestCheck(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.public Boolean getSourceDestCheck()
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.
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.public ModifyNetworkInterfaceAttributeRequest withSourceDestCheck(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.public Boolean isSourceDestCheck()
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.
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.public Request<ModifyNetworkInterfaceAttributeRequest> getDryRunRequest()
getDryRunRequest in interface DryRunSupportedRequest<ModifyNetworkInterfaceAttributeRequest>public String toString()
toString in class ObjectObject.toString()public ModifyNetworkInterfaceAttributeRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2017. All rights reserved.