@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GrantEntitlementRequest extends Object implements Serializable, Cloneable, StructuredPojo
Constructor and Description |
---|
GrantEntitlementRequest() |
Modifier and Type | Method and Description |
---|---|
GrantEntitlementRequest |
clone() |
boolean |
equals(Object obj) |
Integer |
getDataTransferSubscriberFeePercent()
Percentage from 0-100 of the data transfer cost to be billed to the subscriber.
|
String |
getDescription()
A description of the entitlement.
|
Encryption |
getEncryption()
The type of encryption that will be used on the output that is associated with this entitlement.
|
String |
getEntitlementStatus()
An indication of whether the new entitlement should be enabled or disabled as soon as it is created.
|
String |
getName()
The name of the entitlement.
|
List<String> |
getSubscribers()
The AWS account IDs that you want to share your content with.
|
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 |
setDescription(String description)
A description of the entitlement.
|
void |
setEncryption(Encryption encryption)
The type of encryption that will be used on the output that is associated with this entitlement.
|
void |
setEntitlementStatus(String entitlementStatus)
An indication of whether the new entitlement should be enabled or disabled as soon as it is created.
|
void |
setName(String name)
The name of the entitlement.
|
void |
setSubscribers(Collection<String> subscribers)
The AWS account IDs that you want to share your content with.
|
String |
toString()
Returns a string representation of this object.
|
GrantEntitlementRequest |
withDataTransferSubscriberFeePercent(Integer dataTransferSubscriberFeePercent)
Percentage from 0-100 of the data transfer cost to be billed to the subscriber.
|
GrantEntitlementRequest |
withDescription(String description)
A description of the entitlement.
|
GrantEntitlementRequest |
withEncryption(Encryption encryption)
The type of encryption that will be used on the output that is associated with this entitlement.
|
GrantEntitlementRequest |
withEntitlementStatus(EntitlementStatus entitlementStatus)
An indication of whether the new entitlement should be enabled or disabled as soon as it is created.
|
GrantEntitlementRequest |
withEntitlementStatus(String entitlementStatus)
An indication of whether the new entitlement should be enabled or disabled as soon as it is created.
|
GrantEntitlementRequest |
withName(String name)
The name of the entitlement.
|
GrantEntitlementRequest |
withSubscribers(Collection<String> subscribers)
The AWS account IDs that you want to share your content with.
|
GrantEntitlementRequest |
withSubscribers(String... subscribers)
The AWS account IDs that you want to share your content with.
|
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 GrantEntitlementRequest withDataTransferSubscriberFeePercent(Integer dataTransferSubscriberFeePercent)
dataTransferSubscriberFeePercent
- Percentage from 0-100 of the data transfer cost to be billed to the subscriber.public void setDescription(String description)
description
- A description of the entitlement. This description appears only on the AWS Elemental MediaConnect console
and will not be seen by the subscriber or end user.public String getDescription()
public GrantEntitlementRequest withDescription(String description)
description
- A description of the entitlement. This description appears only on the AWS Elemental MediaConnect console
and will not be seen by the subscriber or end user.public void setEncryption(Encryption encryption)
encryption
- The type of encryption that will be used on the output that is associated with this entitlement.public Encryption getEncryption()
public GrantEntitlementRequest withEncryption(Encryption encryption)
encryption
- The type of encryption that will be used on the output that is associated with this entitlement.public void setEntitlementStatus(String entitlementStatus)
entitlementStatus
- An indication of whether the new entitlement should be enabled or disabled as soon as it is created. If
you don’t specify the entitlementStatus field in your request, MediaConnect sets it to ENABLED.EntitlementStatus
public String getEntitlementStatus()
EntitlementStatus
public GrantEntitlementRequest withEntitlementStatus(String entitlementStatus)
entitlementStatus
- An indication of whether the new entitlement should be enabled or disabled as soon as it is created. If
you don’t specify the entitlementStatus field in your request, MediaConnect sets it to ENABLED.EntitlementStatus
public GrantEntitlementRequest withEntitlementStatus(EntitlementStatus entitlementStatus)
entitlementStatus
- An indication of whether the new entitlement should be enabled or disabled as soon as it is created. If
you don’t specify the entitlementStatus field in your request, MediaConnect sets it to ENABLED.EntitlementStatus
public void setName(String name)
name
- The name of the entitlement. This value must be unique within the current flow.public String getName()
public GrantEntitlementRequest withName(String name)
name
- The name of the entitlement. This value must be unique within the current flow.public List<String> getSubscribers()
public void setSubscribers(Collection<String> subscribers)
subscribers
- The AWS account IDs that you want to share your content with. The receiving accounts (subscribers) will be
allowed to create their own flows using your content as the source.public GrantEntitlementRequest withSubscribers(String... subscribers)
NOTE: This method appends the values to the existing list (if any). Use
setSubscribers(java.util.Collection)
or withSubscribers(java.util.Collection)
if you want to
override the existing values.
subscribers
- The AWS account IDs that you want to share your content with. The receiving accounts (subscribers) will be
allowed to create their own flows using your content as the source.public GrantEntitlementRequest withSubscribers(Collection<String> subscribers)
subscribers
- The AWS account IDs that you want to share your content with. The receiving accounts (subscribers) will be
allowed to create their own flows using your content as the source.public String toString()
toString
in class Object
Object.toString()
public GrantEntitlementRequest clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.