@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Destination extends Object implements Serializable, Cloneable, StructuredPojo
Contains information about the publishing destination, including the ID, type, and status.
| Constructor and Description |
|---|
Destination() |
| Modifier and Type | Method and Description |
|---|---|
Destination |
clone() |
boolean |
equals(Object obj) |
String |
getDestinationId()
The unique ID of the publishing destination.
|
String |
getDestinationType()
The type of resource used for the publishing destination.
|
String |
getStatus()
The status of the publishing destination.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setDestinationId(String destinationId)
The unique ID of the publishing destination.
|
void |
setDestinationType(String destinationType)
The type of resource used for the publishing destination.
|
void |
setStatus(String status)
The status of the publishing destination.
|
String |
toString()
Returns a string representation of this object.
|
Destination |
withDestinationId(String destinationId)
The unique ID of the publishing destination.
|
Destination |
withDestinationType(DestinationType destinationType)
The type of resource used for the publishing destination.
|
Destination |
withDestinationType(String destinationType)
The type of resource used for the publishing destination.
|
Destination |
withStatus(PublishingStatus status)
The status of the publishing destination.
|
Destination |
withStatus(String status)
The status of the publishing destination.
|
public void setDestinationId(String destinationId)
The unique ID of the publishing destination.
destinationId - The unique ID of the publishing destination.public String getDestinationId()
The unique ID of the publishing destination.
public Destination withDestinationId(String destinationId)
The unique ID of the publishing destination.
destinationId - The unique ID of the publishing destination.public void setDestinationType(String destinationType)
The type of resource used for the publishing destination. Currently, only Amazon S3 buckets are supported.
destinationType - The type of resource used for the publishing destination. Currently, only Amazon S3 buckets are supported.DestinationTypepublic String getDestinationType()
The type of resource used for the publishing destination. Currently, only Amazon S3 buckets are supported.
DestinationTypepublic Destination withDestinationType(String destinationType)
The type of resource used for the publishing destination. Currently, only Amazon S3 buckets are supported.
destinationType - The type of resource used for the publishing destination. Currently, only Amazon S3 buckets are supported.DestinationTypepublic Destination withDestinationType(DestinationType destinationType)
The type of resource used for the publishing destination. Currently, only Amazon S3 buckets are supported.
destinationType - The type of resource used for the publishing destination. Currently, only Amazon S3 buckets are supported.DestinationTypepublic void setStatus(String status)
The status of the publishing destination.
status - The status of the publishing destination.PublishingStatuspublic String getStatus()
The status of the publishing destination.
PublishingStatuspublic Destination withStatus(String status)
The status of the publishing destination.
status - The status of the publishing destination.PublishingStatuspublic Destination withStatus(PublishingStatus status)
The status of the publishing destination.
status - The status of the publishing destination.PublishingStatuspublic String toString()
toString in class ObjectObject.toString()public Destination clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.