@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DeleteNetworkInterfacePermissionRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<DeleteNetworkInterfacePermissionRequest>
Contains the parameters for DeleteNetworkInterfacePermission.
NOOP
Constructor and Description |
---|
DeleteNetworkInterfacePermissionRequest() |
Modifier and Type | Method and Description |
---|---|
DeleteNetworkInterfacePermissionRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Request<DeleteNetworkInterfacePermissionRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
Boolean |
getForce()
Specify
true to remove the permission even if the network interface is attached to an instance. |
String |
getNetworkInterfacePermissionId()
The ID of the network interface permission.
|
int |
hashCode() |
Boolean |
isForce()
Specify
true to remove the permission even if the network interface is attached to an instance. |
void |
setForce(Boolean force)
Specify
true to remove the permission even if the network interface is attached to an instance. |
void |
setNetworkInterfacePermissionId(String networkInterfacePermissionId)
The ID of the network interface permission.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
DeleteNetworkInterfacePermissionRequest |
withForce(Boolean force)
Specify
true to remove the permission even if the network interface is attached to an instance. |
DeleteNetworkInterfacePermissionRequest |
withNetworkInterfacePermissionId(String networkInterfacePermissionId)
The ID of the network interface permission.
|
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 DeleteNetworkInterfacePermissionRequest()
public void setNetworkInterfacePermissionId(String networkInterfacePermissionId)
The ID of the network interface permission.
networkInterfacePermissionId
- The ID of the network interface permission.public String getNetworkInterfacePermissionId()
The ID of the network interface permission.
public DeleteNetworkInterfacePermissionRequest withNetworkInterfacePermissionId(String networkInterfacePermissionId)
The ID of the network interface permission.
networkInterfacePermissionId
- The ID of the network interface permission.public void setForce(Boolean force)
Specify true
to remove the permission even if the network interface is attached to an instance.
force
- Specify true
to remove the permission even if the network interface is attached to an
instance.public Boolean getForce()
Specify true
to remove the permission even if the network interface is attached to an instance.
true
to remove the permission even if the network interface is attached to an
instance.public DeleteNetworkInterfacePermissionRequest withForce(Boolean force)
Specify true
to remove the permission even if the network interface is attached to an instance.
force
- Specify true
to remove the permission even if the network interface is attached to an
instance.public Boolean isForce()
Specify true
to remove the permission even if the network interface is attached to an instance.
true
to remove the permission even if the network interface is attached to an
instance.public Request<DeleteNetworkInterfacePermissionRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<DeleteNetworkInterfacePermissionRequest>
public String toString()
toString
in class Object
Object.toString()
public DeleteNetworkInterfacePermissionRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.