@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CompositionSummary extends Object implements Serializable, Cloneable, StructuredPojo
Summary information about a Composition.
Constructor and Description |
---|
CompositionSummary() |
Modifier and Type | Method and Description |
---|---|
CompositionSummary |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
CompositionSummary |
clearTagsEntries()
Removes all the entries added into Tags.
|
CompositionSummary |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
ARN of the Composition resource.
|
List<DestinationSummary> |
getDestinations()
Array of Destination objects.
|
Date |
getEndTime()
UTC time of the Composition end.
|
String |
getStageArn()
ARN of the attached stage.
|
Date |
getStartTime()
UTC time of the Composition start.
|
String |
getState()
State of the Composition resource.
|
Map<String,String> |
getTags()
Tags attached to the resource.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setArn(String arn)
ARN of the Composition resource.
|
void |
setDestinations(Collection<DestinationSummary> destinations)
Array of Destination objects.
|
void |
setEndTime(Date endTime)
UTC time of the Composition end.
|
void |
setStageArn(String stageArn)
ARN of the attached stage.
|
void |
setStartTime(Date startTime)
UTC time of the Composition start.
|
void |
setState(String state)
State of the Composition resource.
|
void |
setTags(Map<String,String> tags)
Tags attached to the resource.
|
String |
toString()
Returns a string representation of this object.
|
CompositionSummary |
withArn(String arn)
ARN of the Composition resource.
|
CompositionSummary |
withDestinations(Collection<DestinationSummary> destinations)
Array of Destination objects.
|
CompositionSummary |
withDestinations(DestinationSummary... destinations)
Array of Destination objects.
|
CompositionSummary |
withEndTime(Date endTime)
UTC time of the Composition end.
|
CompositionSummary |
withStageArn(String stageArn)
ARN of the attached stage.
|
CompositionSummary |
withStartTime(Date startTime)
UTC time of the Composition start.
|
CompositionSummary |
withState(CompositionState state)
State of the Composition resource.
|
CompositionSummary |
withState(String state)
State of the Composition resource.
|
CompositionSummary |
withTags(Map<String,String> tags)
Tags attached to the resource.
|
public void setArn(String arn)
ARN of the Composition resource.
arn
- ARN of the Composition resource.public String getArn()
ARN of the Composition resource.
public CompositionSummary withArn(String arn)
ARN of the Composition resource.
arn
- ARN of the Composition resource.public void setStageArn(String stageArn)
ARN of the attached stage.
stageArn
- ARN of the attached stage.public String getStageArn()
ARN of the attached stage.
public CompositionSummary withStageArn(String stageArn)
ARN of the attached stage.
stageArn
- ARN of the attached stage.public List<DestinationSummary> getDestinations()
Array of Destination objects.
public void setDestinations(Collection<DestinationSummary> destinations)
Array of Destination objects.
destinations
- Array of Destination objects.public CompositionSummary withDestinations(DestinationSummary... destinations)
Array of Destination objects.
NOTE: This method appends the values to the existing list (if any). Use
setDestinations(java.util.Collection)
or withDestinations(java.util.Collection)
if you want to
override the existing values.
destinations
- Array of Destination objects.public CompositionSummary withDestinations(Collection<DestinationSummary> destinations)
Array of Destination objects.
destinations
- Array of Destination objects.public void setState(String state)
State of the Composition resource.
state
- State of the Composition resource.CompositionState
public String getState()
State of the Composition resource.
CompositionState
public CompositionSummary withState(String state)
State of the Composition resource.
state
- State of the Composition resource.CompositionState
public CompositionSummary withState(CompositionState state)
State of the Composition resource.
state
- State of the Composition resource.CompositionState
public Map<String,String> getTags()
Tags attached to the resource. Array of maps, each of the form string:string (key:value)
. See Tagging AWS Resources for details,
including restrictions that apply to tags and "Tag naming limits and requirements"; Amazon IVS has no constraints
on tags beyond what is documented there.
string:string (key:value)
.
See Tagging AWS Resources
for details, including restrictions that apply to tags and "Tag naming limits and requirements"; Amazon
IVS has no constraints on tags beyond what is documented there.public void setTags(Map<String,String> tags)
Tags attached to the resource. Array of maps, each of the form string:string (key:value)
. See Tagging AWS Resources for details,
including restrictions that apply to tags and "Tag naming limits and requirements"; Amazon IVS has no constraints
on tags beyond what is documented there.
tags
- Tags attached to the resource. Array of maps, each of the form string:string (key:value)
. See
Tagging AWS Resources for
details, including restrictions that apply to tags and "Tag naming limits and requirements"; Amazon IVS
has no constraints on tags beyond what is documented there.public CompositionSummary withTags(Map<String,String> tags)
Tags attached to the resource. Array of maps, each of the form string:string (key:value)
. See Tagging AWS Resources for details,
including restrictions that apply to tags and "Tag naming limits and requirements"; Amazon IVS has no constraints
on tags beyond what is documented there.
tags
- Tags attached to the resource. Array of maps, each of the form string:string (key:value)
. See
Tagging AWS Resources for
details, including restrictions that apply to tags and "Tag naming limits and requirements"; Amazon IVS
has no constraints on tags beyond what is documented there.public CompositionSummary addTagsEntry(String key, String value)
public CompositionSummary clearTagsEntries()
public void setStartTime(Date startTime)
UTC time of the Composition start. This is an ISO 8601 timestamp; note that this is returned as a string.
startTime
- UTC time of the Composition start. This is an ISO 8601 timestamp; note that this is returned as a
string.public Date getStartTime()
UTC time of the Composition start. This is an ISO 8601 timestamp; note that this is returned as a string.
public CompositionSummary withStartTime(Date startTime)
UTC time of the Composition start. This is an ISO 8601 timestamp; note that this is returned as a string.
startTime
- UTC time of the Composition start. This is an ISO 8601 timestamp; note that this is returned as a
string.public void setEndTime(Date endTime)
UTC time of the Composition end. This is an ISO 8601 timestamp; note that this is returned as a string.
endTime
- UTC time of the Composition end. This is an ISO 8601 timestamp; note that this is returned as a
string.public Date getEndTime()
UTC time of the Composition end. This is an ISO 8601 timestamp; note that this is returned as a string.
public CompositionSummary withEndTime(Date endTime)
UTC time of the Composition end. This is an ISO 8601 timestamp; note that this is returned as a string.
endTime
- UTC time of the Composition end. This is an ISO 8601 timestamp; note that this is returned as a
string.public String toString()
toString
in class Object
Object.toString()
public CompositionSummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.