@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateFleetPortSettingsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Represents the input for a request action.
NOOP
Constructor and Description |
---|
UpdateFleetPortSettingsRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateFleetPortSettingsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getFleetId()
Unique identifier for a fleet to update port settings for.
|
List<IpPermission> |
getInboundPermissionAuthorizations()
Collection of port settings to be added to the fleet record.
|
List<IpPermission> |
getInboundPermissionRevocations()
Collection of port settings to be removed from the fleet record.
|
int |
hashCode() |
void |
setFleetId(String fleetId)
Unique identifier for a fleet to update port settings for.
|
void |
setInboundPermissionAuthorizations(Collection<IpPermission> inboundPermissionAuthorizations)
Collection of port settings to be added to the fleet record.
|
void |
setInboundPermissionRevocations(Collection<IpPermission> inboundPermissionRevocations)
Collection of port settings to be removed from the fleet record.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
UpdateFleetPortSettingsRequest |
withFleetId(String fleetId)
Unique identifier for a fleet to update port settings for.
|
UpdateFleetPortSettingsRequest |
withInboundPermissionAuthorizations(Collection<IpPermission> inboundPermissionAuthorizations)
Collection of port settings to be added to the fleet record.
|
UpdateFleetPortSettingsRequest |
withInboundPermissionAuthorizations(IpPermission... inboundPermissionAuthorizations)
Collection of port settings to be added to the fleet record.
|
UpdateFleetPortSettingsRequest |
withInboundPermissionRevocations(Collection<IpPermission> inboundPermissionRevocations)
Collection of port settings to be removed from the fleet record.
|
UpdateFleetPortSettingsRequest |
withInboundPermissionRevocations(IpPermission... inboundPermissionRevocations)
Collection of port settings to be removed from the fleet record.
|
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 setFleetId(String fleetId)
Unique identifier for a fleet to update port settings for.
fleetId
- Unique identifier for a fleet to update port settings for.public String getFleetId()
Unique identifier for a fleet to update port settings for.
public UpdateFleetPortSettingsRequest withFleetId(String fleetId)
Unique identifier for a fleet to update port settings for.
fleetId
- Unique identifier for a fleet to update port settings for.public List<IpPermission> getInboundPermissionAuthorizations()
Collection of port settings to be added to the fleet record.
public void setInboundPermissionAuthorizations(Collection<IpPermission> inboundPermissionAuthorizations)
Collection of port settings to be added to the fleet record.
inboundPermissionAuthorizations
- Collection of port settings to be added to the fleet record.public UpdateFleetPortSettingsRequest withInboundPermissionAuthorizations(IpPermission... inboundPermissionAuthorizations)
Collection of port settings to be added to the fleet record.
NOTE: This method appends the values to the existing list (if any). Use
setInboundPermissionAuthorizations(java.util.Collection)
or
withInboundPermissionAuthorizations(java.util.Collection)
if you want to override the existing values.
inboundPermissionAuthorizations
- Collection of port settings to be added to the fleet record.public UpdateFleetPortSettingsRequest withInboundPermissionAuthorizations(Collection<IpPermission> inboundPermissionAuthorizations)
Collection of port settings to be added to the fleet record.
inboundPermissionAuthorizations
- Collection of port settings to be added to the fleet record.public List<IpPermission> getInboundPermissionRevocations()
Collection of port settings to be removed from the fleet record.
public void setInboundPermissionRevocations(Collection<IpPermission> inboundPermissionRevocations)
Collection of port settings to be removed from the fleet record.
inboundPermissionRevocations
- Collection of port settings to be removed from the fleet record.public UpdateFleetPortSettingsRequest withInboundPermissionRevocations(IpPermission... inboundPermissionRevocations)
Collection of port settings to be removed from the fleet record.
NOTE: This method appends the values to the existing list (if any). Use
setInboundPermissionRevocations(java.util.Collection)
or
withInboundPermissionRevocations(java.util.Collection)
if you want to override the existing values.
inboundPermissionRevocations
- Collection of port settings to be removed from the fleet record.public UpdateFleetPortSettingsRequest withInboundPermissionRevocations(Collection<IpPermission> inboundPermissionRevocations)
Collection of port settings to be removed from the fleet record.
inboundPermissionRevocations
- Collection of port settings to be removed from the fleet record.public String toString()
toString
in class Object
Object.toString()
public UpdateFleetPortSettingsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.