@Generated(value="software.amazon.awssdk:codegen") public final class BucketBundle extends Object implements SdkPojo, Serializable, ToCopyableBuilder<BucketBundle.Builder,BucketBundle>
Describes the specifications of a bundle that can be applied to an Amazon Lightsail bucket.
A bucket bundle specifies the monthly cost, storage space, and data transfer quota for a bucket.
| Modifier and Type | Class and Description |
|---|---|
static interface |
BucketBundle.Builder |
| Modifier and Type | Method and Description |
|---|---|
static BucketBundle.Builder |
builder() |
String |
bundleId()
The ID of the bundle.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Boolean |
isActive()
Indicates whether the bundle is active.
|
String |
name()
The name of the bundle.
|
Float |
price()
The monthly price of the bundle, in US dollars.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends BucketBundle.Builder> |
serializableBuilderClass() |
Integer |
storagePerMonthInGb()
The storage size of the bundle, in GB.
|
BucketBundle.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
Integer |
transferPerMonthInGb()
The monthly network transfer quota of the bundle.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String bundleId()
The ID of the bundle.
public final String name()
The name of the bundle.
public final Float price()
The monthly price of the bundle, in US dollars.
public final Integer storagePerMonthInGb()
The storage size of the bundle, in GB.
public final Integer transferPerMonthInGb()
The monthly network transfer quota of the bundle.
public final Boolean isActive()
Indicates whether the bundle is active. Use for a new or existing bucket.
public BucketBundle.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<BucketBundle.Builder,BucketBundle>public static BucketBundle.Builder builder()
public static Class<? extends BucketBundle.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.