public static interface SetResourceAccessForBucketRequest.Builder extends LightsailRequest.Builder, SdkPojo, CopyableBuilder<SetResourceAccessForBucketRequest.Builder,SetResourceAccessForBucketRequest>
| Modifier and Type | Method and Description |
|---|---|
SetResourceAccessForBucketRequest.Builder |
access(ResourceBucketAccess access)
The access setting.
|
SetResourceAccessForBucketRequest.Builder |
access(String access)
The access setting.
|
SetResourceAccessForBucketRequest.Builder |
bucketName(String bucketName)
The name of the bucket for which to set access to another Lightsail resource.
|
SetResourceAccessForBucketRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
SetResourceAccessForBucketRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
SetResourceAccessForBucketRequest.Builder |
resourceName(String resourceName)
The name of the Lightsail instance for which to set bucket access.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildSetResourceAccessForBucketRequest.Builder resourceName(String resourceName)
The name of the Lightsail instance for which to set bucket access. The instance must be in a running or stopped state.
resourceName - The name of the Lightsail instance for which to set bucket access. The instance must be in a running
or stopped state.SetResourceAccessForBucketRequest.Builder bucketName(String bucketName)
The name of the bucket for which to set access to another Lightsail resource.
bucketName - The name of the bucket for which to set access to another Lightsail resource.SetResourceAccessForBucketRequest.Builder access(String 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.
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.
ResourceBucketAccess,
ResourceBucketAccessSetResourceAccessForBucketRequest.Builder access(ResourceBucketAccess 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.
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.
ResourceBucketAccess,
ResourceBucketAccessSetResourceAccessForBucketRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderSetResourceAccessForBucketRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.