Interface UpdateFleetPortSettingsRequest.Builder

    • Method Detail

      • fleetId

        UpdateFleetPortSettingsRequest.Builder fleetId​(String fleetId)

        A unique identifier for the fleet to update port settings for. You can use either the fleet ID or ARN value.

        Parameters:
        fleetId - A unique identifier for the fleet to update port settings for. You can use either the fleet ID or ARN value.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • inboundPermissionAuthorizations

        UpdateFleetPortSettingsRequest.Builder inboundPermissionAuthorizations​(Collection<IpPermission> inboundPermissionAuthorizations)

        A collection of port settings to be added to the fleet resource.

        Parameters:
        inboundPermissionAuthorizations - A collection of port settings to be added to the fleet resource.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • inboundPermissionAuthorizations

        UpdateFleetPortSettingsRequest.Builder inboundPermissionAuthorizations​(IpPermission... inboundPermissionAuthorizations)

        A collection of port settings to be added to the fleet resource.

        Parameters:
        inboundPermissionAuthorizations - A collection of port settings to be added to the fleet resource.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • inboundPermissionAuthorizations

        UpdateFleetPortSettingsRequest.Builder inboundPermissionAuthorizations​(Consumer<IpPermission.Builder>... inboundPermissionAuthorizations)

        A collection of port settings to be added to the fleet resource.

        This is a convenience method that creates an instance of the IpPermission.Builder avoiding the need to create one manually via IpPermission.builder().

        When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to #inboundPermissionAuthorizations(List).

        Parameters:
        inboundPermissionAuthorizations - a consumer that will call methods on IpPermission.Builder
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        #inboundPermissionAuthorizations(java.util.Collection)
      • inboundPermissionRevocations

        UpdateFleetPortSettingsRequest.Builder inboundPermissionRevocations​(Collection<IpPermission> inboundPermissionRevocations)

        A collection of port settings to be removed from the fleet resource.

        Parameters:
        inboundPermissionRevocations - A collection of port settings to be removed from the fleet resource.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • inboundPermissionRevocations

        UpdateFleetPortSettingsRequest.Builder inboundPermissionRevocations​(IpPermission... inboundPermissionRevocations)

        A collection of port settings to be removed from the fleet resource.

        Parameters:
        inboundPermissionRevocations - A collection of port settings to be removed from the fleet resource.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • inboundPermissionRevocations

        UpdateFleetPortSettingsRequest.Builder inboundPermissionRevocations​(Consumer<IpPermission.Builder>... inboundPermissionRevocations)

        A collection of port settings to be removed from the fleet resource.

        This is a convenience method that creates an instance of the IpPermission.Builder avoiding the need to create one manually via IpPermission.builder().

        When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to #inboundPermissionRevocations(List).

        Parameters:
        inboundPermissionRevocations - a consumer that will call methods on IpPermission.Builder
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        #inboundPermissionRevocations(java.util.Collection)