@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Destination extends Object implements Serializable, Cloneable, StructuredPojo
Object specifying the status of a Destination.
Constructor and Description |
---|
Destination() |
Modifier and Type | Method and Description |
---|---|
Destination |
clone() |
boolean |
equals(Object obj) |
DestinationConfiguration |
getConfiguration()
Configuration used to create this destination.
|
DestinationDetail |
getDetail()
Optional details regarding the status of the destination.
|
Date |
getEndTime()
UTC time of the destination end.
|
String |
getId()
Unique identifier for this destination, assigned by IVS.
|
Date |
getStartTime()
UTC time of the destination start.
|
String |
getState()
State of the Composition Destination.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setConfiguration(DestinationConfiguration configuration)
Configuration used to create this destination.
|
void |
setDetail(DestinationDetail detail)
Optional details regarding the status of the destination.
|
void |
setEndTime(Date endTime)
UTC time of the destination end.
|
void |
setId(String id)
Unique identifier for this destination, assigned by IVS.
|
void |
setStartTime(Date startTime)
UTC time of the destination start.
|
void |
setState(String state)
State of the Composition Destination.
|
String |
toString()
Returns a string representation of this object.
|
Destination |
withConfiguration(DestinationConfiguration configuration)
Configuration used to create this destination.
|
Destination |
withDetail(DestinationDetail detail)
Optional details regarding the status of the destination.
|
Destination |
withEndTime(Date endTime)
UTC time of the destination end.
|
Destination |
withId(String id)
Unique identifier for this destination, assigned by IVS.
|
Destination |
withStartTime(Date startTime)
UTC time of the destination start.
|
Destination |
withState(DestinationState state)
State of the Composition Destination.
|
Destination |
withState(String state)
State of the Composition Destination.
|
public void setId(String id)
Unique identifier for this destination, assigned by IVS.
id
- Unique identifier for this destination, assigned by IVS.public String getId()
Unique identifier for this destination, assigned by IVS.
public Destination withId(String id)
Unique identifier for this destination, assigned by IVS.
id
- Unique identifier for this destination, assigned by IVS.public void setState(String state)
State of the Composition Destination.
state
- State of the Composition Destination.DestinationState
public String getState()
State of the Composition Destination.
DestinationState
public Destination withState(String state)
State of the Composition Destination.
state
- State of the Composition Destination.DestinationState
public Destination withState(DestinationState state)
State of the Composition Destination.
state
- State of the Composition Destination.DestinationState
public void setStartTime(Date startTime)
UTC time of the destination start. This is an ISO 8601 timestamp; note that this is returned as a string.
startTime
- UTC time of the destination start. This is an ISO 8601 timestamp; note that this is returned as a
string.public Date getStartTime()
UTC time of the destination start. This is an ISO 8601 timestamp; note that this is returned as a string.
public Destination withStartTime(Date startTime)
UTC time of the destination start. This is an ISO 8601 timestamp; note that this is returned as a string.
startTime
- UTC time of the destination start. This is an ISO 8601 timestamp; note that this is returned as a
string.public void setEndTime(Date endTime)
UTC time of the destination end. This is an ISO 8601 timestamp; note that this is returned as a string.
endTime
- UTC time of the destination end. This is an ISO 8601 timestamp; note that this is returned as a
string.public Date getEndTime()
UTC time of the destination end. This is an ISO 8601 timestamp; note that this is returned as a string.
public Destination withEndTime(Date endTime)
UTC time of the destination end. This is an ISO 8601 timestamp; note that this is returned as a string.
endTime
- UTC time of the destination end. This is an ISO 8601 timestamp; note that this is returned as a
string.public void setConfiguration(DestinationConfiguration configuration)
Configuration used to create this destination.
configuration
- Configuration used to create this destination.public DestinationConfiguration getConfiguration()
Configuration used to create this destination.
public Destination withConfiguration(DestinationConfiguration configuration)
Configuration used to create this destination.
configuration
- Configuration used to create this destination.public void setDetail(DestinationDetail detail)
Optional details regarding the status of the destination.
detail
- Optional details regarding the status of the destination.public DestinationDetail getDetail()
Optional details regarding the status of the destination.
public Destination withDetail(DestinationDetail detail)
Optional details regarding the status of the destination.
detail
- Optional details regarding the status of the destination.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.