@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AttachNetworkInterfaceRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<AttachNetworkInterfaceRequest>
Contains the parameters for AttachNetworkInterface.
NOOP
Constructor and Description |
---|
AttachNetworkInterfaceRequest() |
Modifier and Type | Method and Description |
---|---|
AttachNetworkInterfaceRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Integer |
getDeviceIndex()
The index of the device for the network interface attachment.
|
Request<AttachNetworkInterfaceRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
EnaSrdSpecification |
getEnaSrdSpecification()
Configures ENA Express for the network interface that this action attaches to the instance.
|
String |
getInstanceId()
The ID of the instance.
|
Integer |
getNetworkCardIndex()
The index of the network card.
|
String |
getNetworkInterfaceId()
The ID of the network interface.
|
int |
hashCode() |
void |
setDeviceIndex(Integer deviceIndex)
The index of the device for the network interface attachment.
|
void |
setEnaSrdSpecification(EnaSrdSpecification enaSrdSpecification)
Configures ENA Express for the network interface that this action attaches to the instance.
|
void |
setInstanceId(String instanceId)
The ID of the instance.
|
void |
setNetworkCardIndex(Integer networkCardIndex)
The index of the network card.
|
void |
setNetworkInterfaceId(String networkInterfaceId)
The ID of the network interface.
|
String |
toString()
Returns a string representation of this object.
|
AttachNetworkInterfaceRequest |
withDeviceIndex(Integer deviceIndex)
The index of the device for the network interface attachment.
|
AttachNetworkInterfaceRequest |
withEnaSrdSpecification(EnaSrdSpecification enaSrdSpecification)
Configures ENA Express for the network interface that this action attaches to the instance.
|
AttachNetworkInterfaceRequest |
withInstanceId(String instanceId)
The ID of the instance.
|
AttachNetworkInterfaceRequest |
withNetworkCardIndex(Integer networkCardIndex)
The index of the network card.
|
AttachNetworkInterfaceRequest |
withNetworkInterfaceId(String networkInterfaceId)
The ID of the network interface.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setDeviceIndex(Integer deviceIndex)
The index of the device for the network interface attachment.
deviceIndex
- The index of the device for the network interface attachment.public Integer getDeviceIndex()
The index of the device for the network interface attachment.
public AttachNetworkInterfaceRequest withDeviceIndex(Integer deviceIndex)
The index of the device for the network interface attachment.
deviceIndex
- The index of the device for the network interface attachment.public void setInstanceId(String instanceId)
The ID of the instance.
instanceId
- The ID of the instance.public String getInstanceId()
The ID of the instance.
public AttachNetworkInterfaceRequest withInstanceId(String instanceId)
The ID of the instance.
instanceId
- The ID of the instance.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 AttachNetworkInterfaceRequest withNetworkInterfaceId(String networkInterfaceId)
The ID of the network interface.
networkInterfaceId
- The ID of the network interface.public void setNetworkCardIndex(Integer networkCardIndex)
The index of the network card. Some instance types support multiple network cards. The primary network interface must be assigned to network card index 0. The default is network card index 0.
networkCardIndex
- The index of the network card. Some instance types support multiple network cards. The primary network
interface must be assigned to network card index 0. The default is network card index 0.public Integer getNetworkCardIndex()
The index of the network card. Some instance types support multiple network cards. The primary network interface must be assigned to network card index 0. The default is network card index 0.
public AttachNetworkInterfaceRequest withNetworkCardIndex(Integer networkCardIndex)
The index of the network card. Some instance types support multiple network cards. The primary network interface must be assigned to network card index 0. The default is network card index 0.
networkCardIndex
- The index of the network card. Some instance types support multiple network cards. The primary network
interface must be assigned to network card index 0. The default is network card index 0.public void setEnaSrdSpecification(EnaSrdSpecification enaSrdSpecification)
Configures ENA Express for the network interface that this action attaches to the instance.
enaSrdSpecification
- Configures ENA Express for the network interface that this action attaches to the instance.public EnaSrdSpecification getEnaSrdSpecification()
Configures ENA Express for the network interface that this action attaches to the instance.
public AttachNetworkInterfaceRequest withEnaSrdSpecification(EnaSrdSpecification enaSrdSpecification)
Configures ENA Express for the network interface that this action attaches to the instance.
enaSrdSpecification
- Configures ENA Express for the network interface that this action attaches to the instance.public Request<AttachNetworkInterfaceRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<AttachNetworkInterfaceRequest>
public String toString()
toString
in class Object
Object.toString()
public AttachNetworkInterfaceRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()