@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetSubscriptionGrantResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetSubscriptionGrantResult() |
Modifier and Type | Method and Description |
---|---|
GetSubscriptionGrantResult |
clone() |
boolean |
equals(Object obj) |
List<SubscribedAsset> |
getAssets()
The assets for which the subscription grant is created.
|
Date |
getCreatedAt()
The timestamp of when the subscription grant is created.
|
String |
getCreatedBy()
The Amazon DataZone user who created the subscription grant.
|
String |
getDomainId()
The ID of the Amazon DataZone domain in which the subscription grant exists.
|
GrantedEntity |
getGrantedEntity()
The entity to which the subscription is granted.
|
String |
getId()
The ID of the subscription grant.
|
String |
getStatus()
The status of the subscription grant.
|
String |
getSubscriptionId()
The identifier of the subscription.
|
String |
getSubscriptionTargetId()
The subscription target ID associated with the subscription grant.
|
Date |
getUpdatedAt()
The timestamp of when the subscription grant was upated.
|
String |
getUpdatedBy()
The Amazon DataZone user who updated the subscription grant.
|
int |
hashCode() |
void |
setAssets(Collection<SubscribedAsset> assets)
The assets for which the subscription grant is created.
|
void |
setCreatedAt(Date createdAt)
The timestamp of when the subscription grant is created.
|
void |
setCreatedBy(String createdBy)
The Amazon DataZone user who created the subscription grant.
|
void |
setDomainId(String domainId)
The ID of the Amazon DataZone domain in which the subscription grant exists.
|
void |
setGrantedEntity(GrantedEntity grantedEntity)
The entity to which the subscription is granted.
|
void |
setId(String id)
The ID of the subscription grant.
|
void |
setStatus(String status)
The status of the subscription grant.
|
void |
setSubscriptionId(String subscriptionId)
The identifier of the subscription.
|
void |
setSubscriptionTargetId(String subscriptionTargetId)
The subscription target ID associated with the subscription grant.
|
void |
setUpdatedAt(Date updatedAt)
The timestamp of when the subscription grant was upated.
|
void |
setUpdatedBy(String updatedBy)
The Amazon DataZone user who updated the subscription grant.
|
String |
toString()
Returns a string representation of this object.
|
GetSubscriptionGrantResult |
withAssets(Collection<SubscribedAsset> assets)
The assets for which the subscription grant is created.
|
GetSubscriptionGrantResult |
withAssets(SubscribedAsset... assets)
The assets for which the subscription grant is created.
|
GetSubscriptionGrantResult |
withCreatedAt(Date createdAt)
The timestamp of when the subscription grant is created.
|
GetSubscriptionGrantResult |
withCreatedBy(String createdBy)
The Amazon DataZone user who created the subscription grant.
|
GetSubscriptionGrantResult |
withDomainId(String domainId)
The ID of the Amazon DataZone domain in which the subscription grant exists.
|
GetSubscriptionGrantResult |
withGrantedEntity(GrantedEntity grantedEntity)
The entity to which the subscription is granted.
|
GetSubscriptionGrantResult |
withId(String id)
The ID of the subscription grant.
|
GetSubscriptionGrantResult |
withStatus(String status)
The status of the subscription grant.
|
GetSubscriptionGrantResult |
withStatus(SubscriptionGrantOverallStatus status)
The status of the subscription grant.
|
GetSubscriptionGrantResult |
withSubscriptionId(String subscriptionId)
The identifier of the subscription.
|
GetSubscriptionGrantResult |
withSubscriptionTargetId(String subscriptionTargetId)
The subscription target ID associated with the subscription grant.
|
GetSubscriptionGrantResult |
withUpdatedAt(Date updatedAt)
The timestamp of when the subscription grant was upated.
|
GetSubscriptionGrantResult |
withUpdatedBy(String updatedBy)
The Amazon DataZone user who updated the subscription grant.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<SubscribedAsset> getAssets()
The assets for which the subscription grant is created.
public void setAssets(Collection<SubscribedAsset> assets)
The assets for which the subscription grant is created.
assets
- The assets for which the subscription grant is created.public GetSubscriptionGrantResult withAssets(SubscribedAsset... assets)
The assets for which the subscription grant is created.
NOTE: This method appends the values to the existing list (if any). Use
setAssets(java.util.Collection)
or withAssets(java.util.Collection)
if you want to override the
existing values.
assets
- The assets for which the subscription grant is created.public GetSubscriptionGrantResult withAssets(Collection<SubscribedAsset> assets)
The assets for which the subscription grant is created.
assets
- The assets for which the subscription grant is created.public void setCreatedAt(Date createdAt)
The timestamp of when the subscription grant is created.
createdAt
- The timestamp of when the subscription grant is created.public Date getCreatedAt()
The timestamp of when the subscription grant is created.
public GetSubscriptionGrantResult withCreatedAt(Date createdAt)
The timestamp of when the subscription grant is created.
createdAt
- The timestamp of when the subscription grant is created.public void setCreatedBy(String createdBy)
The Amazon DataZone user who created the subscription grant.
createdBy
- The Amazon DataZone user who created the subscription grant.public String getCreatedBy()
The Amazon DataZone user who created the subscription grant.
public GetSubscriptionGrantResult withCreatedBy(String createdBy)
The Amazon DataZone user who created the subscription grant.
createdBy
- The Amazon DataZone user who created the subscription grant.public void setDomainId(String domainId)
The ID of the Amazon DataZone domain in which the subscription grant exists.
domainId
- The ID of the Amazon DataZone domain in which the subscription grant exists.public String getDomainId()
The ID of the Amazon DataZone domain in which the subscription grant exists.
public GetSubscriptionGrantResult withDomainId(String domainId)
The ID of the Amazon DataZone domain in which the subscription grant exists.
domainId
- The ID of the Amazon DataZone domain in which the subscription grant exists.public void setGrantedEntity(GrantedEntity grantedEntity)
The entity to which the subscription is granted.
grantedEntity
- The entity to which the subscription is granted.public GrantedEntity getGrantedEntity()
The entity to which the subscription is granted.
public GetSubscriptionGrantResult withGrantedEntity(GrantedEntity grantedEntity)
The entity to which the subscription is granted.
grantedEntity
- The entity to which the subscription is granted.public void setId(String id)
The ID of the subscription grant.
id
- The ID of the subscription grant.public String getId()
The ID of the subscription grant.
public GetSubscriptionGrantResult withId(String id)
The ID of the subscription grant.
id
- The ID of the subscription grant.public void setStatus(String status)
The status of the subscription grant.
status
- The status of the subscription grant.SubscriptionGrantOverallStatus
public String getStatus()
The status of the subscription grant.
SubscriptionGrantOverallStatus
public GetSubscriptionGrantResult withStatus(String status)
The status of the subscription grant.
status
- The status of the subscription grant.SubscriptionGrantOverallStatus
public GetSubscriptionGrantResult withStatus(SubscriptionGrantOverallStatus status)
The status of the subscription grant.
status
- The status of the subscription grant.SubscriptionGrantOverallStatus
public void setSubscriptionId(String subscriptionId)
The identifier of the subscription.
subscriptionId
- The identifier of the subscription.public String getSubscriptionId()
The identifier of the subscription.
public GetSubscriptionGrantResult withSubscriptionId(String subscriptionId)
The identifier of the subscription.
subscriptionId
- The identifier of the subscription.public void setSubscriptionTargetId(String subscriptionTargetId)
The subscription target ID associated with the subscription grant.
subscriptionTargetId
- The subscription target ID associated with the subscription grant.public String getSubscriptionTargetId()
The subscription target ID associated with the subscription grant.
public GetSubscriptionGrantResult withSubscriptionTargetId(String subscriptionTargetId)
The subscription target ID associated with the subscription grant.
subscriptionTargetId
- The subscription target ID associated with the subscription grant.public void setUpdatedAt(Date updatedAt)
The timestamp of when the subscription grant was upated.
updatedAt
- The timestamp of when the subscription grant was upated.public Date getUpdatedAt()
The timestamp of when the subscription grant was upated.
public GetSubscriptionGrantResult withUpdatedAt(Date updatedAt)
The timestamp of when the subscription grant was upated.
updatedAt
- The timestamp of when the subscription grant was upated.public void setUpdatedBy(String updatedBy)
The Amazon DataZone user who updated the subscription grant.
updatedBy
- The Amazon DataZone user who updated the subscription grant.public String getUpdatedBy()
The Amazon DataZone user who updated the subscription grant.
public GetSubscriptionGrantResult withUpdatedBy(String updatedBy)
The Amazon DataZone user who updated the subscription grant.
updatedBy
- The Amazon DataZone user who updated the subscription grant.public String toString()
toString
in class Object
Object.toString()
public GetSubscriptionGrantResult clone()