@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Entitlement extends Object implements Serializable, Cloneable, StructuredPojo
Constructor and Description |
---|
Entitlement() |
Modifier and Type | Method and Description |
---|---|
Entitlement |
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 |
getEntitlementArn()
The ARN of the entitlement.
|
String |
getEntitlementStatus()
An indication of whether the entitlement is enabled.
|
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 |
setEntitlementArn(String entitlementArn)
The ARN of the entitlement.
|
void |
setEntitlementStatus(String entitlementStatus)
An indication of whether the entitlement is enabled.
|
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.
|
Entitlement |
withDataTransferSubscriberFeePercent(Integer dataTransferSubscriberFeePercent)
Percentage from 0-100 of the data transfer cost to be billed to the subscriber.
|
Entitlement |
withDescription(String description)
A description of the entitlement.
|
Entitlement |
withEncryption(Encryption encryption)
The type of encryption that will be used on the output that is associated with this entitlement.
|
Entitlement |
withEntitlementArn(String entitlementArn)
The ARN of the entitlement.
|
Entitlement |
withEntitlementStatus(EntitlementStatus entitlementStatus)
An indication of whether the entitlement is enabled.
|
Entitlement |
withEntitlementStatus(String entitlementStatus)
An indication of whether the entitlement is enabled.
|
Entitlement |
withName(String name)
The name of the entitlement.
|
Entitlement |
withSubscribers(Collection<String> subscribers)
The AWS account IDs that you want to share your content with.
|
Entitlement |
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 Entitlement 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.public String getDescription()
public Entitlement withDescription(String description)
description
- A description of the entitlement.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 Entitlement withEncryption(Encryption encryption)
encryption
- The type of encryption that will be used on the output that is associated with this entitlement.public void setEntitlementArn(String entitlementArn)
entitlementArn
- The ARN of the entitlement.public String getEntitlementArn()
public Entitlement withEntitlementArn(String entitlementArn)
entitlementArn
- The ARN of the entitlement.public void setEntitlementStatus(String entitlementStatus)
entitlementStatus
- An indication of whether the entitlement is enabled.EntitlementStatus
public String getEntitlementStatus()
EntitlementStatus
public Entitlement withEntitlementStatus(String entitlementStatus)
entitlementStatus
- An indication of whether the entitlement is enabled.EntitlementStatus
public Entitlement withEntitlementStatus(EntitlementStatus entitlementStatus)
entitlementStatus
- An indication of whether the entitlement is enabled.EntitlementStatus
public void setName(String name)
name
- The name of the entitlement.public String getName()
public Entitlement withName(String name)
name
- The name of the entitlement.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 flow using your content as the source.public Entitlement 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 flow using your content as the source.public Entitlement 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 flow using your content as the source.public String toString()
toString
in class Object
Object.toString()
public Entitlement clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.