public class UpdateFleetPortSettingsRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
Represents the input for a request action.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
fleetId
Unique identifier for the fleet you want to update port settings for.
|
private java.util.List<IpPermission> |
inboundPermissionAuthorizations
Collection of port settings to be added to the fleet record.
|
private java.util.List<IpPermission> |
inboundPermissionRevocations
Collection of port settings to be removed from the fleet record.
|
NOOP
Constructor and Description |
---|
UpdateFleetPortSettingsRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateFleetPortSettingsRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getFleetId()
Unique identifier for the fleet you want to update port settings for.
|
java.util.List<IpPermission> |
getInboundPermissionAuthorizations()
Collection of port settings to be added to the fleet record.
|
java.util.List<IpPermission> |
getInboundPermissionRevocations()
Collection of port settings to be removed from the fleet record.
|
int |
hashCode() |
void |
setFleetId(java.lang.String fleetId)
Unique identifier for the fleet you want to update port settings for.
|
void |
setInboundPermissionAuthorizations(java.util.Collection<IpPermission> inboundPermissionAuthorizations)
Collection of port settings to be added to the fleet record.
|
void |
setInboundPermissionRevocations(java.util.Collection<IpPermission> inboundPermissionRevocations)
Collection of port settings to be removed from the fleet record.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
UpdateFleetPortSettingsRequest |
withFleetId(java.lang.String fleetId)
Unique identifier for the fleet you want to update port settings for.
|
UpdateFleetPortSettingsRequest |
withInboundPermissionAuthorizations(java.util.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(java.util.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.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
private java.lang.String fleetId
Unique identifier for the fleet you want to update port settings for.
private java.util.List<IpPermission> inboundPermissionAuthorizations
Collection of port settings to be added to the fleet record.
private java.util.List<IpPermission> inboundPermissionRevocations
Collection of port settings to be removed from the fleet record.
public void setFleetId(java.lang.String fleetId)
Unique identifier for the fleet you want to update port settings for.
fleetId
- Unique identifier for the fleet you want to update port settings
for.public java.lang.String getFleetId()
Unique identifier for the fleet you want to update port settings for.
public UpdateFleetPortSettingsRequest withFleetId(java.lang.String fleetId)
Unique identifier for the fleet you want to update port settings for.
fleetId
- Unique identifier for the fleet you want to update port settings
for.public java.util.List<IpPermission> getInboundPermissionAuthorizations()
Collection of port settings to be added to the fleet record.
public void setInboundPermissionAuthorizations(java.util.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(java.util.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 java.util.List<IpPermission> getInboundPermissionRevocations()
Collection of port settings to be removed from the fleet record.
public void setInboundPermissionRevocations(java.util.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(java.util.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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public UpdateFleetPortSettingsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()