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:
  • Constructor Details

    • UpdateFleetPortSettingsRequest

      public UpdateFleetPortSettingsRequest()
  • Method Details

    • 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) or withInboundPermissionAuthorizations(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) or withInboundPermissionRevocations(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 class Object
      Returns:
      A string representation of this object.
      See Also:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • 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 class AmazonWebServiceRequest
      See Also: