@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Source extends Object implements Serializable, Cloneable, StructuredPojo
Constructor and Description |
---|
Source() |
Modifier and Type | Method and Description |
---|---|
Source |
clone() |
boolean |
equals(Object obj) |
Integer |
getDataTransferSubscriberFeePercent()
Percentage from 0-100 of the data transfer cost to be billed to the subscriber.
|
Encryption |
getDecryption()
The type of encryption that is used on the content ingested from this source.
|
String |
getDescription()
A description for the source.
|
String |
getEntitlementArn()
The ARN of the entitlement that allows you to subscribe to content that comes from another AWS account.
|
String |
getIngestIp()
The IP address that the flow will be listening on for incoming content.
|
Integer |
getIngestPort()
The port that the flow will be listening on for incoming content.
|
List<MediaStreamSourceConfiguration> |
getMediaStreamSourceConfigurations()
The media streams that are associated with the source, and the parameters for those associations.
|
String |
getName()
The name of the source.
|
Integer |
getSenderControlPort()
The port that the flow uses to send outbound requests to initiate connection with the sender.
|
String |
getSenderIpAddress()
The IP address that the flow communicates with to initiate connection with the sender.
|
String |
getSourceArn()
The ARN of the source.
|
Transport |
getTransport()
Attributes related to the transport stream that are used in the source.
|
String |
getVpcInterfaceName()
The name of the VPC interface that is used for this source.
|
String |
getWhitelistCidr()
The range of IP addresses that should be allowed to contribute content to your source.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDataTransferSubscriberFeePercent(Integer dataTransferSubscriberFeePercent)
Percentage from 0-100 of the data transfer cost to be billed to the subscriber.
|
void |
setDecryption(Encryption decryption)
The type of encryption that is used on the content ingested from this source.
|
void |
setDescription(String description)
A description for the source.
|
void |
setEntitlementArn(String entitlementArn)
The ARN of the entitlement that allows you to subscribe to content that comes from another AWS account.
|
void |
setIngestIp(String ingestIp)
The IP address that the flow will be listening on for incoming content.
|
void |
setIngestPort(Integer ingestPort)
The port that the flow will be listening on for incoming content.
|
void |
setMediaStreamSourceConfigurations(Collection<MediaStreamSourceConfiguration> mediaStreamSourceConfigurations)
The media streams that are associated with the source, and the parameters for those associations.
|
void |
setName(String name)
The name of the source.
|
void |
setSenderControlPort(Integer senderControlPort)
The port that the flow uses to send outbound requests to initiate connection with the sender.
|
void |
setSenderIpAddress(String senderIpAddress)
The IP address that the flow communicates with to initiate connection with the sender.
|
void |
setSourceArn(String sourceArn)
The ARN of the source.
|
void |
setTransport(Transport transport)
Attributes related to the transport stream that are used in the source.
|
void |
setVpcInterfaceName(String vpcInterfaceName)
The name of the VPC interface that is used for this source.
|
void |
setWhitelistCidr(String whitelistCidr)
The range of IP addresses that should be allowed to contribute content to your source.
|
String |
toString()
Returns a string representation of this object.
|
Source |
withDataTransferSubscriberFeePercent(Integer dataTransferSubscriberFeePercent)
Percentage from 0-100 of the data transfer cost to be billed to the subscriber.
|
Source |
withDecryption(Encryption decryption)
The type of encryption that is used on the content ingested from this source.
|
Source |
withDescription(String description)
A description for the source.
|
Source |
withEntitlementArn(String entitlementArn)
The ARN of the entitlement that allows you to subscribe to content that comes from another AWS account.
|
Source |
withIngestIp(String ingestIp)
The IP address that the flow will be listening on for incoming content.
|
Source |
withIngestPort(Integer ingestPort)
The port that the flow will be listening on for incoming content.
|
Source |
withMediaStreamSourceConfigurations(Collection<MediaStreamSourceConfiguration> mediaStreamSourceConfigurations)
The media streams that are associated with the source, and the parameters for those associations.
|
Source |
withMediaStreamSourceConfigurations(MediaStreamSourceConfiguration... mediaStreamSourceConfigurations)
The media streams that are associated with the source, and the parameters for those associations.
|
Source |
withName(String name)
The name of the source.
|
Source |
withSenderControlPort(Integer senderControlPort)
The port that the flow uses to send outbound requests to initiate connection with the sender.
|
Source |
withSenderIpAddress(String senderIpAddress)
The IP address that the flow communicates with to initiate connection with the sender.
|
Source |
withSourceArn(String sourceArn)
The ARN of the source.
|
Source |
withTransport(Transport transport)
Attributes related to the transport stream that are used in the source.
|
Source |
withVpcInterfaceName(String vpcInterfaceName)
The name of the VPC interface that is used for this source.
|
Source |
withWhitelistCidr(String whitelistCidr)
The range of IP addresses that should be allowed to contribute content to your source.
|
public void setDataTransferSubscriberFeePercent(Integer dataTransferSubscriberFeePercent)
dataTransferSubscriberFeePercent
- Percentage from 0-100 of the data transfer cost to be billed to the subscriber.public Integer getDataTransferSubscriberFeePercent()
public Source withDataTransferSubscriberFeePercent(Integer dataTransferSubscriberFeePercent)
dataTransferSubscriberFeePercent
- Percentage from 0-100 of the data transfer cost to be billed to the subscriber.public void setDecryption(Encryption decryption)
decryption
- The type of encryption that is used on the content ingested from this source.public Encryption getDecryption()
public Source withDecryption(Encryption decryption)
decryption
- The type of encryption that is used on the content ingested from this source.public void setDescription(String description)
description
- A description for the source. This value is not used or seen outside of the current AWS Elemental
MediaConnect account.public String getDescription()
public Source withDescription(String description)
description
- A description for the source. This value is not used or seen outside of the current AWS Elemental
MediaConnect account.public void setEntitlementArn(String entitlementArn)
entitlementArn
- The ARN of the entitlement that allows you to subscribe to content that comes from another AWS account.
The entitlement is set by the content originator and the ARN is generated as part of the originator's
flow.public String getEntitlementArn()
public Source withEntitlementArn(String entitlementArn)
entitlementArn
- The ARN of the entitlement that allows you to subscribe to content that comes from another AWS account.
The entitlement is set by the content originator and the ARN is generated as part of the originator's
flow.public void setIngestIp(String ingestIp)
ingestIp
- The IP address that the flow will be listening on for incoming content.public String getIngestIp()
public Source withIngestIp(String ingestIp)
ingestIp
- The IP address that the flow will be listening on for incoming content.public void setIngestPort(Integer ingestPort)
ingestPort
- The port that the flow will be listening on for incoming content.public Integer getIngestPort()
public Source withIngestPort(Integer ingestPort)
ingestPort
- The port that the flow will be listening on for incoming content.public List<MediaStreamSourceConfiguration> getMediaStreamSourceConfigurations()
public void setMediaStreamSourceConfigurations(Collection<MediaStreamSourceConfiguration> mediaStreamSourceConfigurations)
mediaStreamSourceConfigurations
- The media streams that are associated with the source, and the parameters for those associations.public Source withMediaStreamSourceConfigurations(MediaStreamSourceConfiguration... mediaStreamSourceConfigurations)
NOTE: This method appends the values to the existing list (if any). Use
setMediaStreamSourceConfigurations(java.util.Collection)
or
withMediaStreamSourceConfigurations(java.util.Collection)
if you want to override the existing values.
mediaStreamSourceConfigurations
- The media streams that are associated with the source, and the parameters for those associations.public Source withMediaStreamSourceConfigurations(Collection<MediaStreamSourceConfiguration> mediaStreamSourceConfigurations)
mediaStreamSourceConfigurations
- The media streams that are associated with the source, and the parameters for those associations.public void setName(String name)
name
- The name of the source.public String getName()
public Source withName(String name)
name
- The name of the source.public void setSenderControlPort(Integer senderControlPort)
senderControlPort
- The port that the flow uses to send outbound requests to initiate connection with the sender.public Integer getSenderControlPort()
public Source withSenderControlPort(Integer senderControlPort)
senderControlPort
- The port that the flow uses to send outbound requests to initiate connection with the sender.public void setSenderIpAddress(String senderIpAddress)
senderIpAddress
- The IP address that the flow communicates with to initiate connection with the sender.public String getSenderIpAddress()
public Source withSenderIpAddress(String senderIpAddress)
senderIpAddress
- The IP address that the flow communicates with to initiate connection with the sender.public void setSourceArn(String sourceArn)
sourceArn
- The ARN of the source.public String getSourceArn()
public Source withSourceArn(String sourceArn)
sourceArn
- The ARN of the source.public void setTransport(Transport transport)
transport
- Attributes related to the transport stream that are used in the source.public Transport getTransport()
public Source withTransport(Transport transport)
transport
- Attributes related to the transport stream that are used in the source.public void setVpcInterfaceName(String vpcInterfaceName)
vpcInterfaceName
- The name of the VPC interface that is used for this source.public String getVpcInterfaceName()
public Source withVpcInterfaceName(String vpcInterfaceName)
vpcInterfaceName
- The name of the VPC interface that is used for this source.public void setWhitelistCidr(String whitelistCidr)
whitelistCidr
- The range of IP addresses that should be allowed to contribute content to your source. These IP addresses
should be in the form of a Classless Inter-Domain Routing (CIDR) block; for example, 10.0.0.0/16.public String getWhitelistCidr()
public Source withWhitelistCidr(String whitelistCidr)
whitelistCidr
- The range of IP addresses that should be allowed to contribute content to your source. These IP addresses
should be in the form of a Classless Inter-Domain Routing (CIDR) block; for example, 10.0.0.0/16.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.