@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.DestinationType
public String getDestinationType()
The type of resource used for the publishing destination. Currently, only Amazon S3 buckets are supported.
DestinationType
public 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.DestinationType
public 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.DestinationType
public void setStatus(String status)
The status of the publishing destination.
status
- The status of the publishing destination.PublishingStatus
public String getStatus()
The status of the publishing destination.
PublishingStatus
public Destination withStatus(String status)
The status of the publishing destination.
status
- The status of the publishing destination.PublishingStatus
public Destination withStatus(PublishingStatus status)
The status of the publishing destination.
status
- The status of the publishing destination.PublishingStatus
public String toString()
toString
in class Object
Object.toString()
public Destination clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.