Interface SetResourceAccessForBucketRequest.Builder

All Superinterfaces:
AwsRequest.Builder, Buildable, CopyableBuilder<SetResourceAccessForBucketRequest.Builder,SetResourceAccessForBucketRequest>, LightsailRequest.Builder, SdkBuilder<SetResourceAccessForBucketRequest.Builder,SetResourceAccessForBucketRequest>, SdkPojo, SdkRequest.Builder
Enclosing class:
SetResourceAccessForBucketRequest

public static interface SetResourceAccessForBucketRequest.Builder extends LightsailRequest.Builder, SdkPojo, CopyableBuilder<SetResourceAccessForBucketRequest.Builder,SetResourceAccessForBucketRequest>
  • Method Details

    • resourceName

      The name of the Lightsail instance for which to set bucket access. The instance must be in a running or stopped state.

      Parameters:
      resourceName - The name of the Lightsail instance for which to set bucket access. The instance must be in a running or stopped state.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • bucketName

      The name of the bucket for which to set access to another Lightsail resource.

      Parameters:
      bucketName - The name of the bucket for which to set access to another Lightsail resource.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • access

      The access setting.

      The following access settings are available:

      • allow - Allows access to the bucket and its objects.

      • deny - Denies access to the bucket and its objects. Use this setting to remove access for a resource previously set to allow.

      Parameters:
      access - The access setting.

      The following access settings are available:

      • allow - Allows access to the bucket and its objects.

      • deny - Denies access to the bucket and its objects. Use this setting to remove access for a resource previously set to allow.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • access

      The access setting.

      The following access settings are available:

      • allow - Allows access to the bucket and its objects.

      • deny - Denies access to the bucket and its objects. Use this setting to remove access for a resource previously set to allow.

      Parameters:
      access - The access setting.

      The following access settings are available:

      • allow - Allows access to the bucket and its objects.

      • deny - Denies access to the bucket and its objects. Use this setting to remove access for a resource previously set to allow.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • overrideConfiguration

      SetResourceAccessForBucketRequest.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.