Interface UpdateGatewayRequest.Builder

  • Method Details

    • gateway

      The name or Amazon Resource Name (ARN) of the gateway to update.

      Parameters:
      gateway - The name or Amazon Resource Name (ARN) of the gateway to update.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • infrastructureRoleArn

      UpdateGatewayRequest.Builder infrastructureRoleArn(String infrastructureRoleArn)

      The Amazon Resource Name (ARN) of the IAM role that the gateway assumes to manage infrastructure on your behalf.

      Parameters:
      infrastructureRoleArn - The Amazon Resource Name (ARN) of the IAM role that the gateway assumes to manage infrastructure on your behalf.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • deletionProtection

      UpdateGatewayRequest.Builder deletionProtection(Boolean deletionProtection)

      Specifies whether to enable deletion protection for the gateway. When enabled, the gateway can't be deleted.

      Parameters:
      deletionProtection - Specifies whether to enable deletion protection for the gateway. When enabled, the gateway can't be deleted.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • configuration

      The updated type-specific configuration for the gateway. The configuration variant must match the gateway's existing type, and only mutable fields can be changed.

      Parameters:
      configuration - The updated type-specific configuration for the gateway. The configuration variant must match the gateway's existing type, and only mutable fields can be changed.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • configuration

      The updated type-specific configuration for the gateway. The configuration variant must match the gateway's existing type, and only mutable fields can be changed.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to configuration(UpdateGatewayConfiguration).

      Parameters:
      configuration - a consumer that will call methods on UpdateGatewayConfiguration.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • propagateTags

      UpdateGatewayRequest.Builder propagateTags(String propagateTags)

      Specifies whether to propagate the tags from the gateway to the infrastructure that the gateway manages. If you don't specify a value, the gateway's existing setting is unchanged.

      Parameters:
      propagateTags - Specifies whether to propagate the tags from the gateway to the infrastructure that the gateway manages. If you don't specify a value, the gateway's existing setting is unchanged.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • propagateTags

      UpdateGatewayRequest.Builder propagateTags(PropagateGatewayTags propagateTags)

      Specifies whether to propagate the tags from the gateway to the infrastructure that the gateway manages. If you don't specify a value, the gateway's existing setting is unchanged.

      Parameters:
      propagateTags - Specifies whether to propagate the tags from the gateway to the infrastructure that the gateway manages. If you don't specify a value, the gateway's existing setting is unchanged.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • overrideConfiguration

      UpdateGatewayRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.