@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetSubscriptionResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetSubscriptionResult() |
Modifier and Type | Method and Description |
---|---|
GetSubscriptionResult |
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 ID of the Amazon DataZone domain in which the subscription exists.
|
String |
getId()
The ID of the subscription.
|
Boolean |
getRetainPermissions()
The retain permissions of the subscription.
|
String |
getStatus()
The status of the subscription.
|
SubscribedListing |
getSubscribedListing()
The details of the published asset for which the subscription grant is created.
|
SubscribedPrincipal |
getSubscribedPrincipal()
The principal that owns the subscription.
|
String |
getSubscriptionRequestId()
The ID of the subscription request.
|
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 of the subscription.
|
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 ID of the Amazon DataZone domain in which the subscription exists.
|
void |
setId(String id)
The ID of the subscription.
|
void |
setRetainPermissions(Boolean retainPermissions)
The retain permissions of the subscription.
|
void |
setStatus(String status)
The status of the subscription.
|
void |
setSubscribedListing(SubscribedListing subscribedListing)
The details of the published asset for which the subscription grant is created.
|
void |
setSubscribedPrincipal(SubscribedPrincipal subscribedPrincipal)
The principal that owns the subscription.
|
void |
setSubscriptionRequestId(String subscriptionRequestId)
The ID of the subscription request.
|
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.
|
GetSubscriptionResult |
withCreatedAt(Date createdAt)
The timestamp of when the subscription was created.
|
GetSubscriptionResult |
withCreatedBy(String createdBy)
The Amazon DataZone user who created the subscription.
|
GetSubscriptionResult |
withDomainId(String domainId)
The ID of the Amazon DataZone domain in which the subscription exists.
|
GetSubscriptionResult |
withId(String id)
The ID of the subscription.
|
GetSubscriptionResult |
withRetainPermissions(Boolean retainPermissions)
The retain permissions of the subscription.
|
GetSubscriptionResult |
withStatus(String status)
The status of the subscription.
|
GetSubscriptionResult |
withStatus(SubscriptionStatus status)
The status of the subscription.
|
GetSubscriptionResult |
withSubscribedListing(SubscribedListing subscribedListing)
The details of the published asset for which the subscription grant is created.
|
GetSubscriptionResult |
withSubscribedPrincipal(SubscribedPrincipal subscribedPrincipal)
The principal that owns the subscription.
|
GetSubscriptionResult |
withSubscriptionRequestId(String subscriptionRequestId)
The ID of the subscription request.
|
GetSubscriptionResult |
withUpdatedAt(Date updatedAt)
The timestamp of when the subscription was updated.
|
GetSubscriptionResult |
withUpdatedBy(String updatedBy)
The Amazon DataZone user who updated the subscription.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
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 GetSubscriptionResult 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 GetSubscriptionResult 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 ID of the Amazon DataZone domain in which the subscription exists.
domainId
- The ID of the Amazon DataZone domain in which the subscription exists.public String getDomainId()
The ID of the Amazon DataZone domain in which the subscription exists.
public GetSubscriptionResult withDomainId(String domainId)
The ID of the Amazon DataZone domain in which the subscription exists.
domainId
- The ID of the Amazon DataZone domain in which the subscription exists.public void setId(String id)
The ID of the subscription.
id
- The ID of the subscription.public String getId()
The ID of the subscription.
public GetSubscriptionResult withId(String id)
The ID of the subscription.
id
- The ID of the subscription.public void setRetainPermissions(Boolean retainPermissions)
The retain permissions of the subscription.
retainPermissions
- The retain permissions of the subscription.public Boolean getRetainPermissions()
The retain permissions of the subscription.
public GetSubscriptionResult withRetainPermissions(Boolean retainPermissions)
The retain permissions of the subscription.
retainPermissions
- The retain permissions of the subscription.public Boolean isRetainPermissions()
The retain permissions of 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 GetSubscriptionResult withStatus(String status)
The status of the subscription.
status
- The status of the subscription.SubscriptionStatus
public GetSubscriptionResult withStatus(SubscriptionStatus status)
The status of the subscription.
status
- The status of the subscription.SubscriptionStatus
public void setSubscribedListing(SubscribedListing subscribedListing)
The details of the published asset for which the subscription grant is created.
subscribedListing
- The details of the published asset for which the subscription grant is created.public SubscribedListing getSubscribedListing()
The details of the published asset for which the subscription grant is created.
public GetSubscriptionResult withSubscribedListing(SubscribedListing subscribedListing)
The details of the published asset for which the subscription grant is created.
subscribedListing
- The details of the published asset for which the subscription grant is created.public void setSubscribedPrincipal(SubscribedPrincipal subscribedPrincipal)
The principal that owns the subscription.
subscribedPrincipal
- The principal that owns the subscription.public SubscribedPrincipal getSubscribedPrincipal()
The principal that owns the subscription.
public GetSubscriptionResult withSubscribedPrincipal(SubscribedPrincipal subscribedPrincipal)
The principal that owns the subscription.
subscribedPrincipal
- The principal that owns the subscription.public void setSubscriptionRequestId(String subscriptionRequestId)
The ID of the subscription request.
subscriptionRequestId
- The ID of the subscription request.public String getSubscriptionRequestId()
The ID of the subscription request.
public GetSubscriptionResult withSubscriptionRequestId(String subscriptionRequestId)
The ID of the subscription request.
subscriptionRequestId
- The ID of the subscription request.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 GetSubscriptionResult 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 GetSubscriptionResult 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 GetSubscriptionResult clone()