@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, withSdkRequestTimeout
public 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 Object
Object.toString()
public OpenInstancePublicPortsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Privacy | Site terms | Cookie preferences | © 2025, Amazon Web Services, Inc. or its affiliates. All rights reserved.