Interface GetBucketLocationResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetBucketLocationResponse.Builder,GetBucketLocationResponse>
,S3Response.Builder
,SdkBuilder<GetBucketLocationResponse.Builder,GetBucketLocationResponse>
,SdkPojo
,SdkResponse.Builder
- Enclosing class:
- GetBucketLocationResponse
public static interface GetBucketLocationResponse.Builder extends S3Response.Builder, SdkPojo, CopyableBuilder<GetBucketLocationResponse.Builder,GetBucketLocationResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GetBucketLocationResponse.Builder
locationConstraint(String locationConstraint)
Specifies the Region where the bucket resides.GetBucketLocationResponse.Builder
locationConstraint(BucketLocationConstraint locationConstraint)
Specifies the Region where the bucket resides.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.s3.model.S3Response.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
locationConstraint
GetBucketLocationResponse.Builder locationConstraint(String locationConstraint)
Specifies the Region where the bucket resides. For a list of all the Amazon S3 supported location constraints by Region, see Regions and Endpoints. Buckets in Region
us-east-1
have a LocationConstraint ofnull
.- Parameters:
locationConstraint
- Specifies the Region where the bucket resides. For a list of all the Amazon S3 supported location constraints by Region, see Regions and Endpoints. Buckets in Regionus-east-1
have a LocationConstraint ofnull
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
BucketLocationConstraint
,BucketLocationConstraint
-
locationConstraint
GetBucketLocationResponse.Builder locationConstraint(BucketLocationConstraint locationConstraint)
Specifies the Region where the bucket resides. For a list of all the Amazon S3 supported location constraints by Region, see Regions and Endpoints. Buckets in Region
us-east-1
have a LocationConstraint ofnull
.- Parameters:
locationConstraint
- Specifies the Region where the bucket resides. For a list of all the Amazon S3 supported location constraints by Region, see Regions and Endpoints. Buckets in Regionus-east-1
have a LocationConstraint ofnull
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
BucketLocationConstraint
,BucketLocationConstraint
-
-