@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DistributionBundle extends Object implements Serializable, Cloneable, StructuredPojo
Describes the specifications of a distribution bundle.
Constructor and Description |
---|
DistributionBundle() |
Modifier and Type | Method and Description |
---|---|
DistributionBundle |
clone() |
boolean |
equals(Object obj) |
String |
getBundleId()
The ID of the bundle.
|
Boolean |
getIsActive()
Indicates whether the bundle is active, and can be specified for a new or existing distribution.
|
String |
getName()
The name of the distribution bundle.
|
Float |
getPrice()
The monthly price, in US dollars, of the bundle.
|
Integer |
getTransferPerMonthInGb()
The monthly network transfer quota of the bundle.
|
int |
hashCode() |
Boolean |
isActive()
Indicates whether the bundle is active, and can be specified for a new or existing distribution.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setBundleId(String bundleId)
The ID of the bundle.
|
void |
setIsActive(Boolean isActive)
Indicates whether the bundle is active, and can be specified for a new or existing distribution.
|
void |
setName(String name)
The name of the distribution bundle.
|
void |
setPrice(Float price)
The monthly price, in US dollars, of the bundle.
|
void |
setTransferPerMonthInGb(Integer transferPerMonthInGb)
The monthly network transfer quota of the bundle.
|
String |
toString()
Returns a string representation of this object.
|
DistributionBundle |
withBundleId(String bundleId)
The ID of the bundle.
|
DistributionBundle |
withIsActive(Boolean isActive)
Indicates whether the bundle is active, and can be specified for a new or existing distribution.
|
DistributionBundle |
withName(String name)
The name of the distribution bundle.
|
DistributionBundle |
withPrice(Float price)
The monthly price, in US dollars, of the bundle.
|
DistributionBundle |
withTransferPerMonthInGb(Integer transferPerMonthInGb)
The monthly network transfer quota of the bundle.
|
public void setBundleId(String bundleId)
The ID of the bundle.
bundleId
- The ID of the bundle.public String getBundleId()
The ID of the bundle.
public DistributionBundle withBundleId(String bundleId)
The ID of the bundle.
bundleId
- The ID of the bundle.public void setName(String name)
The name of the distribution bundle.
name
- The name of the distribution bundle.public String getName()
The name of the distribution bundle.
public DistributionBundle withName(String name)
The name of the distribution bundle.
name
- The name of the distribution bundle.public void setPrice(Float price)
The monthly price, in US dollars, of the bundle.
price
- The monthly price, in US dollars, of the bundle.public Float getPrice()
The monthly price, in US dollars, of the bundle.
public DistributionBundle withPrice(Float price)
The monthly price, in US dollars, of the bundle.
price
- The monthly price, in US dollars, of the bundle.public void setTransferPerMonthInGb(Integer transferPerMonthInGb)
The monthly network transfer quota of the bundle.
transferPerMonthInGb
- The monthly network transfer quota of the bundle.public Integer getTransferPerMonthInGb()
The monthly network transfer quota of the bundle.
public DistributionBundle withTransferPerMonthInGb(Integer transferPerMonthInGb)
The monthly network transfer quota of the bundle.
transferPerMonthInGb
- The monthly network transfer quota of the bundle.public void setIsActive(Boolean isActive)
Indicates whether the bundle is active, and can be specified for a new or existing distribution.
isActive
- Indicates whether the bundle is active, and can be specified for a new or existing distribution.public Boolean getIsActive()
Indicates whether the bundle is active, and can be specified for a new or existing distribution.
public DistributionBundle withIsActive(Boolean isActive)
Indicates whether the bundle is active, and can be specified for a new or existing distribution.
isActive
- Indicates whether the bundle is active, and can be specified for a new or existing distribution.public Boolean isActive()
Indicates whether the bundle is active, and can be specified for a new or existing distribution.
public String toString()
toString
in class Object
Object.toString()
public DistributionBundle clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.