Class UpdateFleetPortSettingsRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.gamelift.model.UpdateFleetPortSettingsRequest
-
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
public class UpdateFleetPortSettingsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Represents the input for a request action.
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description UpdateFleetPortSettingsRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateFleetPortSettingsRequest
clone()
Creates a shallow clone of this request.boolean
equals(Object obj)
String
getFleetId()
Unique identifier for the fleet you want 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 the fleet you want 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 the fleet you want to update port settings for.UpdateFleetPortSettingsRequest
withInboundPermissionAuthorizations(IpPermission... inboundPermissionAuthorizations)
Collection of port settings to be added to the fleet record.UpdateFleetPortSettingsRequest
withInboundPermissionAuthorizations(Collection<IpPermission> inboundPermissionAuthorizations)
Collection of port settings to be added to the fleet record.UpdateFleetPortSettingsRequest
withInboundPermissionRevocations(IpPermission... inboundPermissionRevocations)
Collection of port settings to be removed from the fleet record.UpdateFleetPortSettingsRequest
withInboundPermissionRevocations(Collection<IpPermission> inboundPermissionRevocations)
Collection of port settings to be removed from the fleet record.-
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
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
-
-
-
-
Method Detail
-
setFleetId
public void setFleetId(String fleetId)
Unique identifier for the fleet you want to update port settings for.
- Parameters:
fleetId
- Unique identifier for the fleet you want to update port settings for.
-
getFleetId
public String getFleetId()
Unique identifier for the fleet you want to update port settings for.
- Returns:
- Unique identifier for the fleet you want to update port settings for.
-
withFleetId
public UpdateFleetPortSettingsRequest withFleetId(String fleetId)
Unique identifier for the fleet you want to update port settings for.
- Parameters:
fleetId
- Unique identifier for the fleet you want to update port settings for.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getInboundPermissionAuthorizations
public List<IpPermission> getInboundPermissionAuthorizations()
Collection of port settings to be added to the fleet record.
- Returns:
- Collection of port settings to be added to the fleet record.
-
setInboundPermissionAuthorizations
public void setInboundPermissionAuthorizations(Collection<IpPermission> inboundPermissionAuthorizations)
Collection of port settings to be added to the fleet record.
- Parameters:
inboundPermissionAuthorizations
- Collection of port settings to be added to the fleet record.
-
withInboundPermissionAuthorizations
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)
orwithInboundPermissionAuthorizations(java.util.Collection)
if you want to override the existing values.- Parameters:
inboundPermissionAuthorizations
- Collection of port settings to be added to the fleet record.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withInboundPermissionAuthorizations
public UpdateFleetPortSettingsRequest withInboundPermissionAuthorizations(Collection<IpPermission> inboundPermissionAuthorizations)
Collection of port settings to be added to the fleet record.
- Parameters:
inboundPermissionAuthorizations
- Collection of port settings to be added to the fleet record.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getInboundPermissionRevocations
public List<IpPermission> getInboundPermissionRevocations()
Collection of port settings to be removed from the fleet record.
- Returns:
- Collection of port settings to be removed from the fleet record.
-
setInboundPermissionRevocations
public void setInboundPermissionRevocations(Collection<IpPermission> inboundPermissionRevocations)
Collection of port settings to be removed from the fleet record.
- Parameters:
inboundPermissionRevocations
- Collection of port settings to be removed from the fleet record.
-
withInboundPermissionRevocations
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)
orwithInboundPermissionRevocations(java.util.Collection)
if you want to override the existing values.- Parameters:
inboundPermissionRevocations
- Collection of port settings to be removed from the fleet record.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withInboundPermissionRevocations
public UpdateFleetPortSettingsRequest withInboundPermissionRevocations(Collection<IpPermission> inboundPermissionRevocations)
Collection of port settings to be removed from the fleet record.
- Parameters:
inboundPermissionRevocations
- Collection of port settings to be removed from the fleet record.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public UpdateFleetPortSettingsRequest clone()
Description copied from class:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
Object.clone()
-
-