Interface LocationInfo.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<LocationInfo.Builder,LocationInfo>
,SdkBuilder<LocationInfo.Builder,LocationInfo>
,SdkPojo
- Enclosing class:
- LocationInfo
public static interface LocationInfo.Builder extends SdkPojo, CopyableBuilder<LocationInfo.Builder,LocationInfo>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description LocationInfo.Builder
name(String name)
The name of the location where the bucket will be created.LocationInfo.Builder
type(String type)
The type of location where the bucket will be created.LocationInfo.Builder
type(LocationType type)
The type of location where the bucket will be created.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
type
LocationInfo.Builder type(String type)
The type of location where the bucket will be created.
- Parameters:
type
- The type of location where the bucket will be created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
LocationType
,LocationType
-
type
LocationInfo.Builder type(LocationType type)
The type of location where the bucket will be created.
- Parameters:
type
- The type of location where the bucket will be created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
LocationType
,LocationType
-
name
LocationInfo.Builder name(String name)
The name of the location where the bucket will be created.
For directory buckets, the name of the location is the Zone ID of the Availability Zone (AZ) or Local Zone (LZ) where the bucket will be created. An example AZ ID value is
usw2-az1
.- Parameters:
name
- The name of the location where the bucket will be created.For directory buckets, the name of the location is the Zone ID of the Availability Zone (AZ) or Local Zone (LZ) where the bucket will be created. An example AZ ID value is
usw2-az1
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-