Class UpdateFleetPortSettingsRequest
- All Implemented Interfaces:
ReadLimitInfo, Serializable, Cloneable
Represents the input for a request action.
- See Also:
-
Field Summary
Fields inherited from class AmazonWebServiceRequest
NOOP -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()Creates a shallow clone of this request.booleanUnique identifier for the fleet you want to update port settings for.Collection of port settings to be added to the fleet record.Collection of port settings to be removed from the fleet record.inthashCode()voidsetFleetId(String fleetId) Unique identifier for the fleet you want to update port settings for.voidsetInboundPermissionAuthorizations(Collection<IpPermission> inboundPermissionAuthorizations) Collection of port settings to be added to the fleet record.voidsetInboundPermissionRevocations(Collection<IpPermission> inboundPermissionRevocations) Collection of port settings to be removed from the fleet record.toString()Returns a string representation of this object; useful for testing and debugging.withFleetId(String fleetId) Unique identifier for the fleet you want to update port settings for.withInboundPermissionAuthorizations(IpPermission... inboundPermissionAuthorizations) Collection of port settings to be added to the fleet record.withInboundPermissionAuthorizations(Collection<IpPermission> inboundPermissionAuthorizations) Collection of port settings to be added to the fleet record.withInboundPermissionRevocations(IpPermission... inboundPermissionRevocations) Collection of port settings to be removed from the fleet record.withInboundPermissionRevocations(Collection<IpPermission> inboundPermissionRevocations) Collection of port settings to be removed from the fleet record.Methods inherited from class 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
-
Constructor Details
-
UpdateFleetPortSettingsRequest
public UpdateFleetPortSettingsRequest()
-
-
Method Details
-
setFleetId
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
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
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
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
Collection of port settings to be removed from the fleet record.
- Returns:
- Collection of port settings to be removed from the fleet record.
-
setInboundPermissionRevocations
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
-
equals
-
hashCode
-
clone
Description copied from class:AmazonWebServiceRequestCreates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clonein classAmazonWebServiceRequest- See Also:
-