@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DeleteReservationResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
DeleteReservationResult() |
Modifier and Type | Method and Description |
---|---|
DeleteReservationResult |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
DeleteReservationResult |
clearTagsEntries()
Removes all the entries added into Tags.
|
DeleteReservationResult |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
Unique reservation ARN, e.g.
|
Integer |
getCount()
Number of reserved resources
|
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.
|
String |
getEnd()
Reservation UTC end date and time in ISO-8601 format, e.g.
|
Double |
getFixedPrice()
One-time charge for each reserved resource, e.g.
|
String |
getName()
User specified reservation name
|
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.
|
RenewalSettings |
getRenewalSettings()
Renewal settings for the reservation
|
String |
getReservationId()
Unique reservation ID, e.g.
|
ReservationResourceSpecification |
getResourceSpecification()
Resource configuration details
|
String |
getStart()
Reservation UTC start date and time in ISO-8601 format, e.g.
|
String |
getState()
Current state of reservation, e.g.
|
Map<String,String> |
getTags()
A collection of key-value pairs
|
Double |
getUsagePrice()
Recurring usage charge for each reserved resource, e.g.
|
int |
hashCode() |
void |
setArn(String arn)
Unique reservation ARN, e.g.
|
void |
setCount(Integer count)
Number of reserved resources
|
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 |
setEnd(String end)
Reservation UTC end date and time in ISO-8601 format, e.g.
|
void |
setFixedPrice(Double fixedPrice)
One-time charge for each reserved resource, e.g.
|
void |
setName(String name)
User specified reservation name
|
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 |
setRenewalSettings(RenewalSettings renewalSettings)
Renewal settings for the reservation
|
void |
setReservationId(String reservationId)
Unique reservation ID, e.g.
|
void |
setResourceSpecification(ReservationResourceSpecification resourceSpecification)
Resource configuration details
|
void |
setStart(String start)
Reservation UTC start date and time in ISO-8601 format, e.g.
|
void |
setState(String state)
Current state of reservation, e.g.
|
void |
setTags(Map<String,String> tags)
A collection of key-value pairs
|
void |
setUsagePrice(Double usagePrice)
Recurring usage charge for each reserved resource, e.g.
|
String |
toString()
Returns a string representation of this object.
|
DeleteReservationResult |
withArn(String arn)
Unique reservation ARN, e.g.
|
DeleteReservationResult |
withCount(Integer count)
Number of reserved resources
|
DeleteReservationResult |
withCurrencyCode(String currencyCode)
Currency code for usagePrice and fixedPrice in ISO-4217 format, e.g.
|
DeleteReservationResult |
withDuration(Integer duration)
Lease duration, e.g.
|
DeleteReservationResult |
withDurationUnits(OfferingDurationUnits durationUnits)
Units for duration, e.g.
|
DeleteReservationResult |
withDurationUnits(String durationUnits)
Units for duration, e.g.
|
DeleteReservationResult |
withEnd(String end)
Reservation UTC end date and time in ISO-8601 format, e.g.
|
DeleteReservationResult |
withFixedPrice(Double fixedPrice)
One-time charge for each reserved resource, e.g.
|
DeleteReservationResult |
withName(String name)
User specified reservation name
|
DeleteReservationResult |
withOfferingDescription(String offeringDescription)
Offering description, e.g.
|
DeleteReservationResult |
withOfferingId(String offeringId)
Unique offering ID, e.g.
|
DeleteReservationResult |
withOfferingType(OfferingType offeringType)
Offering type, e.g.
|
DeleteReservationResult |
withOfferingType(String offeringType)
Offering type, e.g.
|
DeleteReservationResult |
withRegion(String region)
AWS region, e.g.
|
DeleteReservationResult |
withRenewalSettings(RenewalSettings renewalSettings)
Renewal settings for the reservation
|
DeleteReservationResult |
withReservationId(String reservationId)
Unique reservation ID, e.g.
|
DeleteReservationResult |
withResourceSpecification(ReservationResourceSpecification resourceSpecification)
Resource configuration details
|
DeleteReservationResult |
withStart(String start)
Reservation UTC start date and time in ISO-8601 format, e.g.
|
DeleteReservationResult |
withState(ReservationState state)
Current state of reservation, e.g.
|
DeleteReservationResult |
withState(String state)
Current state of reservation, e.g.
|
DeleteReservationResult |
withTags(Map<String,String> tags)
A collection of key-value pairs
|
DeleteReservationResult |
withUsagePrice(Double usagePrice)
Recurring usage charge for each reserved resource, e.g.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setArn(String arn)
arn
- Unique reservation ARN, e.g. 'arn:aws:medialive:us-west-2:123456789012:reservation:1234567'public String getArn()
public DeleteReservationResult withArn(String arn)
arn
- Unique reservation ARN, e.g. 'arn:aws:medialive:us-west-2:123456789012:reservation:1234567'public void setCount(Integer count)
count
- Number of reserved resourcespublic Integer getCount()
public DeleteReservationResult withCount(Integer count)
count
- Number of reserved resourcespublic void setCurrencyCode(String currencyCode)
currencyCode
- Currency code for usagePrice and fixedPrice in ISO-4217 format, e.g. 'USD'public String getCurrencyCode()
public DeleteReservationResult 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 DeleteReservationResult 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 DeleteReservationResult withDurationUnits(String durationUnits)
durationUnits
- Units for duration, e.g. 'MONTHS'OfferingDurationUnits
public DeleteReservationResult withDurationUnits(OfferingDurationUnits durationUnits)
durationUnits
- Units for duration, e.g. 'MONTHS'OfferingDurationUnits
public void setEnd(String end)
end
- Reservation UTC end date and time in ISO-8601 format, e.g. '2019-03-01T00:00:00'public String getEnd()
public DeleteReservationResult withEnd(String end)
end
- Reservation UTC end date and time in ISO-8601 format, e.g. '2019-03-01T00:00:00'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 DeleteReservationResult withFixedPrice(Double fixedPrice)
fixedPrice
- One-time charge for each reserved resource, e.g. '0.0' for a NO_UPFRONT offeringpublic void setName(String name)
name
- User specified reservation namepublic String getName()
public DeleteReservationResult withName(String name)
name
- User specified reservation namepublic 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 DeleteReservationResult 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 DeleteReservationResult 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 DeleteReservationResult withOfferingType(String offeringType)
offeringType
- Offering type, e.g. 'NO_UPFRONT'OfferingType
public DeleteReservationResult 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 DeleteReservationResult withRegion(String region)
region
- AWS region, e.g. 'us-west-2'public void setRenewalSettings(RenewalSettings renewalSettings)
renewalSettings
- Renewal settings for the reservationpublic RenewalSettings getRenewalSettings()
public DeleteReservationResult withRenewalSettings(RenewalSettings renewalSettings)
renewalSettings
- Renewal settings for the reservationpublic void setReservationId(String reservationId)
reservationId
- Unique reservation ID, e.g. '1234567'public String getReservationId()
public DeleteReservationResult withReservationId(String reservationId)
reservationId
- Unique reservation ID, e.g. '1234567'public void setResourceSpecification(ReservationResourceSpecification resourceSpecification)
resourceSpecification
- Resource configuration detailspublic ReservationResourceSpecification getResourceSpecification()
public DeleteReservationResult withResourceSpecification(ReservationResourceSpecification resourceSpecification)
resourceSpecification
- Resource configuration detailspublic void setStart(String start)
start
- Reservation UTC start date and time in ISO-8601 format, e.g. '2018-03-01T00:00:00'public String getStart()
public DeleteReservationResult withStart(String start)
start
- Reservation UTC start date and time in ISO-8601 format, e.g. '2018-03-01T00:00:00'public void setState(String state)
state
- Current state of reservation, e.g. 'ACTIVE'ReservationState
public String getState()
ReservationState
public DeleteReservationResult withState(String state)
state
- Current state of reservation, e.g. 'ACTIVE'ReservationState
public DeleteReservationResult withState(ReservationState state)
state
- Current state of reservation, e.g. 'ACTIVE'ReservationState
public Map<String,String> getTags()
public void setTags(Map<String,String> tags)
tags
- A collection of key-value pairspublic DeleteReservationResult withTags(Map<String,String> tags)
tags
- A collection of key-value pairspublic DeleteReservationResult addTagsEntry(String key, String value)
public DeleteReservationResult clearTagsEntries()
public void setUsagePrice(Double usagePrice)
usagePrice
- Recurring usage charge for each reserved resource, e.g. '157.0'public Double getUsagePrice()
public DeleteReservationResult 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 DeleteReservationResult clone()