Interface BucketState.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<BucketState.Builder,
,BucketState> SdkBuilder<BucketState.Builder,
,BucketState> SdkPojo
- Enclosing class:
BucketState
@Mutable
@NotThreadSafe
public static interface BucketState.Builder
extends SdkPojo, CopyableBuilder<BucketState.Builder,BucketState>
-
Method Summary
Modifier and TypeMethodDescriptionThe state code of the bucket.A message that describes the state of the bucket.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 Details
-
code
The state code of the bucket.
The following codes are possible:
-
OK
- The bucket is in a running state. -
Unknown
- Creation of the bucket might have timed-out. You might want to delete the bucket and create a new one.
- Parameters:
code
- The state code of the bucket.The following codes are possible:
-
OK
- The bucket is in a running state. -
Unknown
- Creation of the bucket might have timed-out. You might want to delete the bucket and create a new one.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
message
A message that describes the state of the bucket.
- Parameters:
message
- A message that describes the state of the bucket.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-