Interface BucketState.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<BucketState.Builder,BucketState>,SdkBuilder<BucketState.Builder,BucketState>,SdkPojo
- Enclosing class:
- BucketState
public static interface BucketState.Builder extends SdkPojo, CopyableBuilder<BucketState.Builder,BucketState>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BucketState.Buildercode(String code)The state code of the bucket.BucketState.Buildermessage(String message)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, sdkFields
-
-
-
-
Method Detail
-
code
BucketState.Builder code(String 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
BucketState.Builder message(String 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.
-
-