@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 for which to close ports.
|
PortInfo |
getPortInfo()
An object to describe the ports to close for the specified instance.
|
int |
hashCode() |
void |
setInstanceName(String instanceName)
The name of the instance for which to close ports.
|
void |
setPortInfo(PortInfo portInfo)
An object to describe the ports to close for the specified instance.
|
String |
toString()
Returns a string representation of this object.
|
CloseInstancePublicPortsRequest |
withInstanceName(String instanceName)
The name of the instance for which to close ports.
|
CloseInstancePublicPortsRequest |
withPortInfo(PortInfo portInfo)
An object to describe the ports to close for the specified instance.
|
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)
An object to describe the ports to close for the specified instance.
portInfo
- An object to describe the ports to close for the specified instance.public PortInfo getPortInfo()
An object to describe the ports to close for the specified instance.
public CloseInstancePublicPortsRequest withPortInfo(PortInfo portInfo)
An object to describe the ports to close for the specified instance.
portInfo
- An object to describe the ports to close for the specified instance.public void setInstanceName(String instanceName)
The name of the instance for which to close ports.
instanceName
- The name of the instance for which to close ports.public String getInstanceName()
The name of the instance for which to close ports.
public CloseInstancePublicPortsRequest withInstanceName(String instanceName)
The name of the instance for which to close ports.
instanceName
- The name of the instance for which to close ports.public String toString()
toString
in class Object
Object.toString()
public CloseInstancePublicPortsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()