@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 you want to open the public ports.
|
PortInfo |
getPortInfo()
An array of key-value pairs containing information about the port mappings.
|
int |
hashCode() |
void |
setInstanceName(String instanceName)
The name of the instance for which you want to open the public ports.
|
void |
setPortInfo(PortInfo portInfo)
An array of key-value pairs containing information about the port mappings.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
OpenInstancePublicPortsRequest |
withInstanceName(String instanceName)
The name of the instance for which you want to open the public ports.
|
OpenInstancePublicPortsRequest |
withPortInfo(PortInfo portInfo)
An array of key-value pairs containing information about the port mappings.
|
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 array of key-value pairs containing information about the port mappings.
portInfo - An array of key-value pairs containing information about the port mappings.public PortInfo getPortInfo()
An array of key-value pairs containing information about the port mappings.
public OpenInstancePublicPortsRequest withPortInfo(PortInfo portInfo)
An array of key-value pairs containing information about the port mappings.
portInfo - An array of key-value pairs containing information about the port mappings.public void setInstanceName(String instanceName)
The name of the instance for which you want to open the public ports.
instanceName - The name of the instance for which you want to open the public ports.public String getInstanceName()
The name of the instance for which you want to open the public ports.
public OpenInstancePublicPortsRequest withInstanceName(String instanceName)
The name of the instance for which you want to open the public ports.
instanceName - The name of the instance for which you want to open the public ports.public String toString()
toString in class ObjectObject.toString()public OpenInstancePublicPortsRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.