@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PutInstancePublicPortsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
PutInstancePublicPortsRequest() |
Modifier and Type | Method and Description |
---|---|
PutInstancePublicPortsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getInstanceName()
The Lightsail instance name of the public port(s) you are setting.
|
List<PortInfo> |
getPortInfos()
Specifies information about the public port(s).
|
int |
hashCode() |
void |
setInstanceName(String instanceName)
The Lightsail instance name of the public port(s) you are setting.
|
void |
setPortInfos(Collection<PortInfo> portInfos)
Specifies information about the public port(s).
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
PutInstancePublicPortsRequest |
withInstanceName(String instanceName)
The Lightsail instance name of the public port(s) you are setting.
|
PutInstancePublicPortsRequest |
withPortInfos(Collection<PortInfo> portInfos)
Specifies information about the public port(s).
|
PutInstancePublicPortsRequest |
withPortInfos(PortInfo... portInfos)
Specifies information about the public port(s).
|
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 List<PortInfo> getPortInfos()
Specifies information about the public port(s).
public void setPortInfos(Collection<PortInfo> portInfos)
Specifies information about the public port(s).
portInfos
- Specifies information about the public port(s).public PutInstancePublicPortsRequest withPortInfos(PortInfo... portInfos)
Specifies information about the public port(s).
NOTE: This method appends the values to the existing list (if any). Use
setPortInfos(java.util.Collection)
or withPortInfos(java.util.Collection)
if you want to
override the existing values.
portInfos
- Specifies information about the public port(s).public PutInstancePublicPortsRequest withPortInfos(Collection<PortInfo> portInfos)
Specifies information about the public port(s).
portInfos
- Specifies information about the public port(s).public void setInstanceName(String instanceName)
The Lightsail instance name of the public port(s) you are setting.
instanceName
- The Lightsail instance name of the public port(s) you are setting.public String getInstanceName()
The Lightsail instance name of the public port(s) you are setting.
public PutInstancePublicPortsRequest withInstanceName(String instanceName)
The Lightsail instance name of the public port(s) you are setting.
instanceName
- The Lightsail instance name of the public port(s) you are setting.public String toString()
toString
in class Object
Object.toString()
public PutInstancePublicPortsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.