@Generated(value="software.amazon.awssdk:codegen") public final class BucketState extends Object implements SdkPojo, Serializable, ToCopyableBuilder<BucketState.Builder,BucketState>
Describes the state of an Amazon Lightsail bucket.
| Modifier and Type | Class and Description |
|---|---|
static interface |
BucketState.Builder |
| Modifier and Type | Method and Description |
|---|---|
static BucketState.Builder |
builder() |
String |
code()
The state code of the bucket.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
message()
A message that describes the state of the bucket.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends BucketState.Builder> |
serializableBuilderClass() |
BucketState.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final 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.
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.
public final String message()
A message that describes the state of the bucket.
public BucketState.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<BucketState.Builder,BucketState>public static BucketState.Builder builder()
public static Class<? extends BucketState.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2022. All rights reserved.