@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeOfferingResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
DescribeOfferingResult() |
Modifier and Type | Method and Description |
---|---|
DescribeOfferingResult |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
Unique offering ARN, e.g.
|
String |
getCurrencyCode()
Currency code for usagePrice and fixedPrice in ISO-4217 format, e.g.
|
Integer |
getDuration()
Lease duration, e.g.
|
String |
getDurationUnits()
Units for duration, e.g.
|
Double |
getFixedPrice()
One-time charge for each reserved resource, e.g.
|
String |
getOfferingDescription()
Offering description, e.g.
|
String |
getOfferingId()
Unique offering ID, e.g.
|
String |
getOfferingType()
Offering type, e.g.
|
String |
getRegion()
AWS region, e.g.
|
ReservationResourceSpecification |
getResourceSpecification()
Resource configuration details
|
Double |
getUsagePrice()
Recurring usage charge for each reserved resource, e.g.
|
int |
hashCode() |
void |
setArn(String arn)
Unique offering ARN, e.g.
|
void |
setCurrencyCode(String currencyCode)
Currency code for usagePrice and fixedPrice in ISO-4217 format, e.g.
|
void |
setDuration(Integer duration)
Lease duration, e.g.
|
void |
setDurationUnits(String durationUnits)
Units for duration, e.g.
|
void |
setFixedPrice(Double fixedPrice)
One-time charge for each reserved resource, e.g.
|
void |
setOfferingDescription(String offeringDescription)
Offering description, e.g.
|
void |
setOfferingId(String offeringId)
Unique offering ID, e.g.
|
void |
setOfferingType(String offeringType)
Offering type, e.g.
|
void |
setRegion(String region)
AWS region, e.g.
|
void |
setResourceSpecification(ReservationResourceSpecification resourceSpecification)
Resource configuration details
|
void |
setUsagePrice(Double usagePrice)
Recurring usage charge for each reserved resource, e.g.
|
String |
toString()
Returns a string representation of this object.
|
DescribeOfferingResult |
withArn(String arn)
Unique offering ARN, e.g.
|
DescribeOfferingResult |
withCurrencyCode(String currencyCode)
Currency code for usagePrice and fixedPrice in ISO-4217 format, e.g.
|
DescribeOfferingResult |
withDuration(Integer duration)
Lease duration, e.g.
|
DescribeOfferingResult |
withDurationUnits(OfferingDurationUnits durationUnits)
Units for duration, e.g.
|
DescribeOfferingResult |
withDurationUnits(String durationUnits)
Units for duration, e.g.
|
DescribeOfferingResult |
withFixedPrice(Double fixedPrice)
One-time charge for each reserved resource, e.g.
|
DescribeOfferingResult |
withOfferingDescription(String offeringDescription)
Offering description, e.g.
|
DescribeOfferingResult |
withOfferingId(String offeringId)
Unique offering ID, e.g.
|
DescribeOfferingResult |
withOfferingType(OfferingType offeringType)
Offering type, e.g.
|
DescribeOfferingResult |
withOfferingType(String offeringType)
Offering type, e.g.
|
DescribeOfferingResult |
withRegion(String region)
AWS region, e.g.
|
DescribeOfferingResult |
withResourceSpecification(ReservationResourceSpecification resourceSpecification)
Resource configuration details
|
DescribeOfferingResult |
withUsagePrice(Double usagePrice)
Recurring usage charge for each reserved resource, e.g.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setArn(String arn)
arn
- Unique offering ARN, e.g. 'arn:aws:medialive:us-west-2:123456789012:offering:87654321'public String getArn()
public DescribeOfferingResult withArn(String arn)
arn
- Unique offering ARN, e.g. 'arn:aws:medialive:us-west-2:123456789012:offering:87654321'public void setCurrencyCode(String currencyCode)
currencyCode
- Currency code for usagePrice and fixedPrice in ISO-4217 format, e.g. 'USD'public String getCurrencyCode()
public DescribeOfferingResult withCurrencyCode(String currencyCode)
currencyCode
- Currency code for usagePrice and fixedPrice in ISO-4217 format, e.g. 'USD'public void setDuration(Integer duration)
duration
- Lease duration, e.g. '12'public Integer getDuration()
public DescribeOfferingResult withDuration(Integer duration)
duration
- Lease duration, e.g. '12'public void setDurationUnits(String durationUnits)
durationUnits
- Units for duration, e.g. 'MONTHS'OfferingDurationUnits
public String getDurationUnits()
OfferingDurationUnits
public DescribeOfferingResult withDurationUnits(String durationUnits)
durationUnits
- Units for duration, e.g. 'MONTHS'OfferingDurationUnits
public DescribeOfferingResult withDurationUnits(OfferingDurationUnits durationUnits)
durationUnits
- Units for duration, e.g. 'MONTHS'OfferingDurationUnits
public void setFixedPrice(Double fixedPrice)
fixedPrice
- One-time charge for each reserved resource, e.g. '0.0' for a NO_UPFRONT offeringpublic Double getFixedPrice()
public DescribeOfferingResult withFixedPrice(Double fixedPrice)
fixedPrice
- One-time charge for each reserved resource, e.g. '0.0' for a NO_UPFRONT offeringpublic void setOfferingDescription(String offeringDescription)
offeringDescription
- Offering description, e.g. 'HD AVC output at 10-20 Mbps, 30 fps, and standard VQ in US West (Oregon)'public String getOfferingDescription()
public DescribeOfferingResult withOfferingDescription(String offeringDescription)
offeringDescription
- Offering description, e.g. 'HD AVC output at 10-20 Mbps, 30 fps, and standard VQ in US West (Oregon)'public void setOfferingId(String offeringId)
offeringId
- Unique offering ID, e.g. '87654321'public String getOfferingId()
public DescribeOfferingResult withOfferingId(String offeringId)
offeringId
- Unique offering ID, e.g. '87654321'public void setOfferingType(String offeringType)
offeringType
- Offering type, e.g. 'NO_UPFRONT'OfferingType
public String getOfferingType()
OfferingType
public DescribeOfferingResult withOfferingType(String offeringType)
offeringType
- Offering type, e.g. 'NO_UPFRONT'OfferingType
public DescribeOfferingResult withOfferingType(OfferingType offeringType)
offeringType
- Offering type, e.g. 'NO_UPFRONT'OfferingType
public void setRegion(String region)
region
- AWS region, e.g. 'us-west-2'public String getRegion()
public DescribeOfferingResult withRegion(String region)
region
- AWS region, e.g. 'us-west-2'public void setResourceSpecification(ReservationResourceSpecification resourceSpecification)
resourceSpecification
- Resource configuration detailspublic ReservationResourceSpecification getResourceSpecification()
public DescribeOfferingResult withResourceSpecification(ReservationResourceSpecification resourceSpecification)
resourceSpecification
- Resource configuration detailspublic void setUsagePrice(Double usagePrice)
usagePrice
- Recurring usage charge for each reserved resource, e.g. '157.0'public Double getUsagePrice()
public DescribeOfferingResult withUsagePrice(Double usagePrice)
usagePrice
- Recurring usage charge for each reserved resource, e.g. '157.0'public String toString()
toString
in class Object
Object.toString()
public DescribeOfferingResult clone()