@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CloseInstancePublicPortsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CloseInstancePublicPortsRequest() |
Modifier and Type | Method and Description |
---|---|
CloseInstancePublicPortsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getInstanceName()
The name of the instance on which you're attempting to close the public ports.
|
PortInfo |
getPortInfo()
Information about the public port you are trying to close.
|
int |
hashCode() |
void |
setInstanceName(String instanceName)
The name of the instance on which you're attempting to close the public ports.
|
void |
setPortInfo(PortInfo portInfo)
Information about the public port you are trying to close.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
CloseInstancePublicPortsRequest |
withInstanceName(String instanceName)
The name of the instance on which you're attempting to close the public ports.
|
CloseInstancePublicPortsRequest |
withPortInfo(PortInfo portInfo)
Information about the public port you are trying to close.
|
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 setPortInfo(PortInfo portInfo)
Information about the public port you are trying to close.
portInfo
- Information about the public port you are trying to close.public PortInfo getPortInfo()
Information about the public port you are trying to close.
public CloseInstancePublicPortsRequest withPortInfo(PortInfo portInfo)
Information about the public port you are trying to close.
portInfo
- Information about the public port you are trying to close.public void setInstanceName(String instanceName)
The name of the instance on which you're attempting to close the public ports.
instanceName
- The name of the instance on which you're attempting to close the public ports.public String getInstanceName()
The name of the instance on which you're attempting to close the public ports.
public CloseInstancePublicPortsRequest withInstanceName(String instanceName)
The name of the instance on which you're attempting to close the public ports.
instanceName
- The name of the instance on which you're attempting to close the public ports.public String toString()
toString
in class Object
Object.toString()
public CloseInstancePublicPortsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.