@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateProgramResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
CreateProgramResult() |
Modifier and Type | Method and Description |
---|---|
CreateProgramResult |
clone() |
boolean |
equals(Object obj) |
List<AdBreak> |
getAdBreaks()
The ad break configuration settings.
|
String |
getArn()
The ARN of the program.
|
String |
getChannelName()
The name of the channel that the program belongs to.
|
Date |
getCreationTime()
The timestamp of when the program was created.
|
String |
getLiveSourceName()
The name of the LiveSource for this Program.
|
String |
getProgramName()
The name of the program.
|
Date |
getScheduledStartTime()
The date and time that the program is scheduled to start in ISO 8601 format and Coordinated Universal Time (UTC).
|
String |
getSourceLocationName()
The source location name.
|
String |
getVodSourceName()
The name that's used to refer to a VOD source.
|
int |
hashCode() |
void |
setAdBreaks(Collection<AdBreak> adBreaks)
The ad break configuration settings.
|
void |
setArn(String arn)
The ARN of the program.
|
void |
setChannelName(String channelName)
The name of the channel that the program belongs to.
|
void |
setCreationTime(Date creationTime)
The timestamp of when the program was created.
|
void |
setLiveSourceName(String liveSourceName)
The name of the LiveSource for this Program.
|
void |
setProgramName(String programName)
The name of the program.
|
void |
setScheduledStartTime(Date scheduledStartTime)
The date and time that the program is scheduled to start in ISO 8601 format and Coordinated Universal Time (UTC).
|
void |
setSourceLocationName(String sourceLocationName)
The source location name.
|
void |
setVodSourceName(String vodSourceName)
The name that's used to refer to a VOD source.
|
String |
toString()
Returns a string representation of this object.
|
CreateProgramResult |
withAdBreaks(AdBreak... adBreaks)
The ad break configuration settings.
|
CreateProgramResult |
withAdBreaks(Collection<AdBreak> adBreaks)
The ad break configuration settings.
|
CreateProgramResult |
withArn(String arn)
The ARN of the program.
|
CreateProgramResult |
withChannelName(String channelName)
The name of the channel that the program belongs to.
|
CreateProgramResult |
withCreationTime(Date creationTime)
The timestamp of when the program was created.
|
CreateProgramResult |
withLiveSourceName(String liveSourceName)
The name of the LiveSource for this Program.
|
CreateProgramResult |
withProgramName(String programName)
The name of the program.
|
CreateProgramResult |
withScheduledStartTime(Date scheduledStartTime)
The date and time that the program is scheduled to start in ISO 8601 format and Coordinated Universal Time (UTC).
|
CreateProgramResult |
withSourceLocationName(String sourceLocationName)
The source location name.
|
CreateProgramResult |
withVodSourceName(String vodSourceName)
The name that's used to refer to a VOD source.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<AdBreak> getAdBreaks()
The ad break configuration settings.
public void setAdBreaks(Collection<AdBreak> adBreaks)
The ad break configuration settings.
adBreaks
- The ad break configuration settings.public CreateProgramResult withAdBreaks(AdBreak... adBreaks)
The ad break configuration settings.
NOTE: This method appends the values to the existing list (if any). Use
setAdBreaks(java.util.Collection)
or withAdBreaks(java.util.Collection)
if you want to override
the existing values.
adBreaks
- The ad break configuration settings.public CreateProgramResult withAdBreaks(Collection<AdBreak> adBreaks)
The ad break configuration settings.
adBreaks
- The ad break configuration settings.public void setArn(String arn)
The ARN of the program.
arn
- The ARN of the program.public String getArn()
The ARN of the program.
public CreateProgramResult withArn(String arn)
The ARN of the program.
arn
- The ARN of the program.public void setChannelName(String channelName)
The name of the channel that the program belongs to.
channelName
- The name of the channel that the program belongs to.public String getChannelName()
The name of the channel that the program belongs to.
public CreateProgramResult withChannelName(String channelName)
The name of the channel that the program belongs to.
channelName
- The name of the channel that the program belongs to.public void setCreationTime(Date creationTime)
The timestamp of when the program was created.
creationTime
- The timestamp of when the program was created.public Date getCreationTime()
The timestamp of when the program was created.
public CreateProgramResult withCreationTime(Date creationTime)
The timestamp of when the program was created.
creationTime
- The timestamp of when the program was created.public void setLiveSourceName(String liveSourceName)
The name of the LiveSource for this Program.
liveSourceName
- The name of the LiveSource for this Program.public String getLiveSourceName()
The name of the LiveSource for this Program.
public CreateProgramResult withLiveSourceName(String liveSourceName)
The name of the LiveSource for this Program.
liveSourceName
- The name of the LiveSource for this Program.public void setProgramName(String programName)
The name of the program.
programName
- The name of the program.public String getProgramName()
The name of the program.
public CreateProgramResult withProgramName(String programName)
The name of the program.
programName
- The name of the program.public void setScheduledStartTime(Date scheduledStartTime)
The date and time that the program is scheduled to start in ISO 8601 format and Coordinated Universal Time (UTC). For example, the value 2021-03-27T17:48:16.751Z represents March 27, 2021 at 17:48:16.751 UTC.
scheduledStartTime
- The date and time that the program is scheduled to start in ISO 8601 format and Coordinated Universal Time
(UTC). For example, the value 2021-03-27T17:48:16.751Z represents March 27, 2021 at 17:48:16.751 UTC.public Date getScheduledStartTime()
The date and time that the program is scheduled to start in ISO 8601 format and Coordinated Universal Time (UTC). For example, the value 2021-03-27T17:48:16.751Z represents March 27, 2021 at 17:48:16.751 UTC.
public CreateProgramResult withScheduledStartTime(Date scheduledStartTime)
The date and time that the program is scheduled to start in ISO 8601 format and Coordinated Universal Time (UTC). For example, the value 2021-03-27T17:48:16.751Z represents March 27, 2021 at 17:48:16.751 UTC.
scheduledStartTime
- The date and time that the program is scheduled to start in ISO 8601 format and Coordinated Universal Time
(UTC). For example, the value 2021-03-27T17:48:16.751Z represents March 27, 2021 at 17:48:16.751 UTC.public void setSourceLocationName(String sourceLocationName)
The source location name.
sourceLocationName
- The source location name.public String getSourceLocationName()
The source location name.
public CreateProgramResult withSourceLocationName(String sourceLocationName)
The source location name.
sourceLocationName
- The source location name.public void setVodSourceName(String vodSourceName)
The name that's used to refer to a VOD source.
vodSourceName
- The name that's used to refer to a VOD source.public String getVodSourceName()
The name that's used to refer to a VOD source.
public CreateProgramResult withVodSourceName(String vodSourceName)
The name that's used to refer to a VOD source.
vodSourceName
- The name that's used to refer to a VOD source.public String toString()
toString
in class Object
Object.toString()
public CreateProgramResult clone()