@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class OpenInstancePublicPortsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
OpenInstancePublicPortsRequest() |
| Modifier and Type | Method and Description |
|---|---|
OpenInstancePublicPortsRequest |
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 open ports.
|
PortInfo |
getPortInfo()
An object to describe the ports to open for the specified instance.
|
int |
hashCode() |
void |
setInstanceName(String instanceName)
The name of the instance for which to open ports.
|
void |
setPortInfo(PortInfo portInfo)
An object to describe the ports to open for the specified instance.
|
String |
toString()
Returns a string representation of this object.
|
OpenInstancePublicPortsRequest |
withInstanceName(String instanceName)
The name of the instance for which to open ports.
|
OpenInstancePublicPortsRequest |
withPortInfo(PortInfo portInfo)
An object to describe the ports to open 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, withSdkRequestTimeoutpublic void setPortInfo(PortInfo portInfo)
An object to describe the ports to open for the specified instance.
portInfo - An object to describe the ports to open for the specified instance.public PortInfo getPortInfo()
An object to describe the ports to open for the specified instance.
public OpenInstancePublicPortsRequest withPortInfo(PortInfo portInfo)
An object to describe the ports to open for the specified instance.
portInfo - An object to describe the ports to open for the specified instance.public void setInstanceName(String instanceName)
The name of the instance for which to open ports.
instanceName - The name of the instance for which to open ports.public String getInstanceName()
The name of the instance for which to open ports.
public OpenInstancePublicPortsRequest withInstanceName(String instanceName)
The name of the instance for which to open ports.
instanceName - The name of the instance for which to open ports.public String toString()
toString in class ObjectObject.toString()public OpenInstancePublicPortsRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()