@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SubscriptionSummary extends Object implements Serializable, Cloneable, StructuredPojo
The details of the subscription.
Constructor and Description |
---|
SubscriptionSummary() |
Modifier and Type | Method and Description |
---|---|
SubscriptionSummary |
clone() |
boolean |
equals(Object obj) |
Date |
getCreatedAt()
The timestamp of when the subscription was created.
|
String |
getCreatedBy()
The Amazon DataZone user who created the subscription.
|
String |
getDomainId()
The identifier of the Amazon DataZone domain in which a subscription exists.
|
String |
getId()
The identifier of the subscription.
|
Boolean |
getRetainPermissions()
The retain permissions included in the subscription.
|
String |
getStatus()
The status of the subscription.
|
SubscribedListing |
getSubscribedListing()
The listing included in the subscription.
|
SubscribedPrincipal |
getSubscribedPrincipal()
The principal included in the subscription.
|
String |
getSubscriptionRequestId()
The identifier of the subscription request for the subscription.
|
Date |
getUpdatedAt()
The timestamp of when the subscription was updated.
|
String |
getUpdatedBy()
The Amazon DataZone user who updated the subscription.
|
int |
hashCode() |
Boolean |
isRetainPermissions()
The retain permissions included in the subscription.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCreatedAt(Date createdAt)
The timestamp of when the subscription was created.
|
void |
setCreatedBy(String createdBy)
The Amazon DataZone user who created the subscription.
|
void |
setDomainId(String domainId)
The identifier of the Amazon DataZone domain in which a subscription exists.
|
void |
setId(String id)
The identifier of the subscription.
|
void |
setRetainPermissions(Boolean retainPermissions)
The retain permissions included in the subscription.
|
void |
setStatus(String status)
The status of the subscription.
|
void |
setSubscribedListing(SubscribedListing subscribedListing)
The listing included in the subscription.
|
void |
setSubscribedPrincipal(SubscribedPrincipal subscribedPrincipal)
The principal included in the subscription.
|
void |
setSubscriptionRequestId(String subscriptionRequestId)
The identifier of the subscription request for the subscription.
|
void |
setUpdatedAt(Date updatedAt)
The timestamp of when the subscription was updated.
|
void |
setUpdatedBy(String updatedBy)
The Amazon DataZone user who updated the subscription.
|
String |
toString()
Returns a string representation of this object.
|
SubscriptionSummary |
withCreatedAt(Date createdAt)
The timestamp of when the subscription was created.
|
SubscriptionSummary |
withCreatedBy(String createdBy)
The Amazon DataZone user who created the subscription.
|
SubscriptionSummary |
withDomainId(String domainId)
The identifier of the Amazon DataZone domain in which a subscription exists.
|
SubscriptionSummary |
withId(String id)
The identifier of the subscription.
|
SubscriptionSummary |
withRetainPermissions(Boolean retainPermissions)
The retain permissions included in the subscription.
|
SubscriptionSummary |
withStatus(String status)
The status of the subscription.
|
SubscriptionSummary |
withStatus(SubscriptionStatus status)
The status of the subscription.
|
SubscriptionSummary |
withSubscribedListing(SubscribedListing subscribedListing)
The listing included in the subscription.
|
SubscriptionSummary |
withSubscribedPrincipal(SubscribedPrincipal subscribedPrincipal)
The principal included in the subscription.
|
SubscriptionSummary |
withSubscriptionRequestId(String subscriptionRequestId)
The identifier of the subscription request for the subscription.
|
SubscriptionSummary |
withUpdatedAt(Date updatedAt)
The timestamp of when the subscription was updated.
|
SubscriptionSummary |
withUpdatedBy(String updatedBy)
The Amazon DataZone user who updated the subscription.
|
public void setCreatedAt(Date createdAt)
The timestamp of when the subscription was created.
createdAt
- The timestamp of when the subscription was created.public Date getCreatedAt()
The timestamp of when the subscription was created.
public SubscriptionSummary withCreatedAt(Date createdAt)
The timestamp of when the subscription was created.
createdAt
- The timestamp of when the subscription was created.public void setCreatedBy(String createdBy)
The Amazon DataZone user who created the subscription.
createdBy
- The Amazon DataZone user who created the subscription.public String getCreatedBy()
The Amazon DataZone user who created the subscription.
public SubscriptionSummary withCreatedBy(String createdBy)
The Amazon DataZone user who created the subscription.
createdBy
- The Amazon DataZone user who created the subscription.public void setDomainId(String domainId)
The identifier of the Amazon DataZone domain in which a subscription exists.
domainId
- The identifier of the Amazon DataZone domain in which a subscription exists.public String getDomainId()
The identifier of the Amazon DataZone domain in which a subscription exists.
public SubscriptionSummary withDomainId(String domainId)
The identifier of the Amazon DataZone domain in which a subscription exists.
domainId
- The identifier of the Amazon DataZone domain in which a subscription exists.public void setId(String id)
The identifier of the subscription.
id
- The identifier of the subscription.public String getId()
The identifier of the subscription.
public SubscriptionSummary withId(String id)
The identifier of the subscription.
id
- The identifier of the subscription.public void setRetainPermissions(Boolean retainPermissions)
The retain permissions included in the subscription.
retainPermissions
- The retain permissions included in the subscription.public Boolean getRetainPermissions()
The retain permissions included in the subscription.
public SubscriptionSummary withRetainPermissions(Boolean retainPermissions)
The retain permissions included in the subscription.
retainPermissions
- The retain permissions included in the subscription.public Boolean isRetainPermissions()
The retain permissions included in the subscription.
public void setStatus(String status)
The status of the subscription.
status
- The status of the subscription.SubscriptionStatus
public String getStatus()
The status of the subscription.
SubscriptionStatus
public SubscriptionSummary withStatus(String status)
The status of the subscription.
status
- The status of the subscription.SubscriptionStatus
public SubscriptionSummary withStatus(SubscriptionStatus status)
The status of the subscription.
status
- The status of the subscription.SubscriptionStatus
public void setSubscribedListing(SubscribedListing subscribedListing)
The listing included in the subscription.
subscribedListing
- The listing included in the subscription.public SubscribedListing getSubscribedListing()
The listing included in the subscription.
public SubscriptionSummary withSubscribedListing(SubscribedListing subscribedListing)
The listing included in the subscription.
subscribedListing
- The listing included in the subscription.public void setSubscribedPrincipal(SubscribedPrincipal subscribedPrincipal)
The principal included in the subscription.
subscribedPrincipal
- The principal included in the subscription.public SubscribedPrincipal getSubscribedPrincipal()
The principal included in the subscription.
public SubscriptionSummary withSubscribedPrincipal(SubscribedPrincipal subscribedPrincipal)
The principal included in the subscription.
subscribedPrincipal
- The principal included in the subscription.public void setSubscriptionRequestId(String subscriptionRequestId)
The identifier of the subscription request for the subscription.
subscriptionRequestId
- The identifier of the subscription request for the subscription.public String getSubscriptionRequestId()
The identifier of the subscription request for the subscription.
public SubscriptionSummary withSubscriptionRequestId(String subscriptionRequestId)
The identifier of the subscription request for the subscription.
subscriptionRequestId
- The identifier of the subscription request for the subscription.public void setUpdatedAt(Date updatedAt)
The timestamp of when the subscription was updated.
updatedAt
- The timestamp of when the subscription was updated.public Date getUpdatedAt()
The timestamp of when the subscription was updated.
public SubscriptionSummary withUpdatedAt(Date updatedAt)
The timestamp of when the subscription was updated.
updatedAt
- The timestamp of when the subscription was updated.public void setUpdatedBy(String updatedBy)
The Amazon DataZone user who updated the subscription.
updatedBy
- The Amazon DataZone user who updated the subscription.public String getUpdatedBy()
The Amazon DataZone user who updated the subscription.
public SubscriptionSummary withUpdatedBy(String updatedBy)
The Amazon DataZone user who updated the subscription.
updatedBy
- The Amazon DataZone user who updated the subscription.public String toString()
toString
in class Object
Object.toString()
public SubscriptionSummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.