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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SetResourceAccessForBucketRequest.Builderaccess(String access)The access setting.SetResourceAccessForBucketRequest.Builderaccess(ResourceBucketAccess access)The access setting.SetResourceAccessForBucketRequest.BuilderbucketName(String bucketName)The name of the bucket for which to set access to another Lightsail resource.SetResourceAccessForBucketRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)SetResourceAccessForBucketRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)SetResourceAccessForBucketRequest.BuilderresourceName(String resourceName)The name of the Lightsail instance for which to set bucket access.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.lightsail.model.LightsailRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
resourceName
SetResourceAccessForBucketRequest.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.
- 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
SetResourceAccessForBucketRequest.Builder bucketName(String 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
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 toallow.
- 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 toallow.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ResourceBucketAccess,ResourceBucketAccess
-
-
access
SetResourceAccessForBucketRequest.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 toallow.
- 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 toallow.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ResourceBucketAccess,ResourceBucketAccess
-
-
overrideConfiguration
SetResourceAccessForBucketRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
SetResourceAccessForBucketRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-