@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateSubscriptionGrantStatusResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
UpdateSubscriptionGrantStatusResult() |
Modifier and Type | Method and Description |
---|---|
UpdateSubscriptionGrantStatusResult |
clone() |
boolean |
equals(Object obj) |
List<SubscribedAsset> |
getAssets()
The details of the asset for which the subscription grant is created.
|
Date |
getCreatedAt()
The timestamp of when the subscription grant status was created.
|
String |
getCreatedBy()
The Amazon DataZone domain user who created the subscription grant status.
|
String |
getDomainId()
The identifier of the Amazon DataZone domain in which a subscription grant status is to be updated.
|
GrantedEntity |
getGrantedEntity()
The granted entity to be updated as part of the
UpdateSubscriptionGrantStatus action. |
String |
getId()
The identifier of the subscription grant.
|
String |
getStatus()
The status to be updated as part of the
UpdateSubscriptionGrantStatus action. |
String |
getSubscriptionId()
The identifier of the subscription.
|
String |
getSubscriptionTargetId()
The identifier of the subscription target whose subscription grant status is to be updated.
|
Date |
getUpdatedAt()
The timestamp of when the subscription grant status is to be updated.
|
String |
getUpdatedBy()
The Amazon DataZone user who updated the subscription grant status.
|
int |
hashCode() |
void |
setAssets(Collection<SubscribedAsset> assets)
The details of the asset for which the subscription grant is created.
|
void |
setCreatedAt(Date createdAt)
The timestamp of when the subscription grant status was created.
|
void |
setCreatedBy(String createdBy)
The Amazon DataZone domain user who created the subscription grant status.
|
void |
setDomainId(String domainId)
The identifier of the Amazon DataZone domain in which a subscription grant status is to be updated.
|
void |
setGrantedEntity(GrantedEntity grantedEntity)
The granted entity to be updated as part of the
UpdateSubscriptionGrantStatus action. |
void |
setId(String id)
The identifier of the subscription grant.
|
void |
setStatus(String status)
The status to be updated as part of the
UpdateSubscriptionGrantStatus action. |
void |
setSubscriptionId(String subscriptionId)
The identifier of the subscription.
|
void |
setSubscriptionTargetId(String subscriptionTargetId)
The identifier of the subscription target whose subscription grant status is to be updated.
|
void |
setUpdatedAt(Date updatedAt)
The timestamp of when the subscription grant status is to be updated.
|
void |
setUpdatedBy(String updatedBy)
The Amazon DataZone user who updated the subscription grant status.
|
String |
toString()
Returns a string representation of this object.
|
UpdateSubscriptionGrantStatusResult |
withAssets(Collection<SubscribedAsset> assets)
The details of the asset for which the subscription grant is created.
|
UpdateSubscriptionGrantStatusResult |
withAssets(SubscribedAsset... assets)
The details of the asset for which the subscription grant is created.
|
UpdateSubscriptionGrantStatusResult |
withCreatedAt(Date createdAt)
The timestamp of when the subscription grant status was created.
|
UpdateSubscriptionGrantStatusResult |
withCreatedBy(String createdBy)
The Amazon DataZone domain user who created the subscription grant status.
|
UpdateSubscriptionGrantStatusResult |
withDomainId(String domainId)
The identifier of the Amazon DataZone domain in which a subscription grant status is to be updated.
|
UpdateSubscriptionGrantStatusResult |
withGrantedEntity(GrantedEntity grantedEntity)
The granted entity to be updated as part of the
UpdateSubscriptionGrantStatus action. |
UpdateSubscriptionGrantStatusResult |
withId(String id)
The identifier of the subscription grant.
|
UpdateSubscriptionGrantStatusResult |
withStatus(String status)
The status to be updated as part of the
UpdateSubscriptionGrantStatus action. |
UpdateSubscriptionGrantStatusResult |
withStatus(SubscriptionGrantOverallStatus status)
The status to be updated as part of the
UpdateSubscriptionGrantStatus action. |
UpdateSubscriptionGrantStatusResult |
withSubscriptionId(String subscriptionId)
The identifier of the subscription.
|
UpdateSubscriptionGrantStatusResult |
withSubscriptionTargetId(String subscriptionTargetId)
The identifier of the subscription target whose subscription grant status is to be updated.
|
UpdateSubscriptionGrantStatusResult |
withUpdatedAt(Date updatedAt)
The timestamp of when the subscription grant status is to be updated.
|
UpdateSubscriptionGrantStatusResult |
withUpdatedBy(String updatedBy)
The Amazon DataZone user who updated the subscription grant status.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<SubscribedAsset> getAssets()
The details of the asset for which the subscription grant is created.
public void setAssets(Collection<SubscribedAsset> assets)
The details of the asset for which the subscription grant is created.
assets
- The details of the asset for which the subscription grant is created.public UpdateSubscriptionGrantStatusResult withAssets(SubscribedAsset... assets)
The details of the asset 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 details of the asset for which the subscription grant is created.public UpdateSubscriptionGrantStatusResult withAssets(Collection<SubscribedAsset> assets)
The details of the asset for which the subscription grant is created.
assets
- The details of the asset for which the subscription grant is created.public void setCreatedAt(Date createdAt)
The timestamp of when the subscription grant status was created.
createdAt
- The timestamp of when the subscription grant status was created.public Date getCreatedAt()
The timestamp of when the subscription grant status was created.
public UpdateSubscriptionGrantStatusResult withCreatedAt(Date createdAt)
The timestamp of when the subscription grant status was created.
createdAt
- The timestamp of when the subscription grant status was created.public void setCreatedBy(String createdBy)
The Amazon DataZone domain user who created the subscription grant status.
createdBy
- The Amazon DataZone domain user who created the subscription grant status.public String getCreatedBy()
The Amazon DataZone domain user who created the subscription grant status.
public UpdateSubscriptionGrantStatusResult withCreatedBy(String createdBy)
The Amazon DataZone domain user who created the subscription grant status.
createdBy
- The Amazon DataZone domain user who created the subscription grant status.public void setDomainId(String domainId)
The identifier of the Amazon DataZone domain in which a subscription grant status is to be updated.
domainId
- The identifier of the Amazon DataZone domain in which a subscription grant status is to be updated.public String getDomainId()
The identifier of the Amazon DataZone domain in which a subscription grant status is to be updated.
public UpdateSubscriptionGrantStatusResult withDomainId(String domainId)
The identifier of the Amazon DataZone domain in which a subscription grant status is to be updated.
domainId
- The identifier of the Amazon DataZone domain in which a subscription grant status is to be updated.public void setGrantedEntity(GrantedEntity grantedEntity)
The granted entity to be updated as part of the UpdateSubscriptionGrantStatus
action.
grantedEntity
- The granted entity to be updated as part of the UpdateSubscriptionGrantStatus
action.public GrantedEntity getGrantedEntity()
The granted entity to be updated as part of the UpdateSubscriptionGrantStatus
action.
UpdateSubscriptionGrantStatus
action.public UpdateSubscriptionGrantStatusResult withGrantedEntity(GrantedEntity grantedEntity)
The granted entity to be updated as part of the UpdateSubscriptionGrantStatus
action.
grantedEntity
- The granted entity to be updated as part of the UpdateSubscriptionGrantStatus
action.public void setId(String id)
The identifier of the subscription grant.
id
- The identifier of the subscription grant.public String getId()
The identifier of the subscription grant.
public UpdateSubscriptionGrantStatusResult withId(String id)
The identifier of the subscription grant.
id
- The identifier of the subscription grant.public void setStatus(String status)
The status to be updated as part of the UpdateSubscriptionGrantStatus
action.
status
- The status to be updated as part of the UpdateSubscriptionGrantStatus
action.SubscriptionGrantOverallStatus
public String getStatus()
The status to be updated as part of the UpdateSubscriptionGrantStatus
action.
UpdateSubscriptionGrantStatus
action.SubscriptionGrantOverallStatus
public UpdateSubscriptionGrantStatusResult withStatus(String status)
The status to be updated as part of the UpdateSubscriptionGrantStatus
action.
status
- The status to be updated as part of the UpdateSubscriptionGrantStatus
action.SubscriptionGrantOverallStatus
public UpdateSubscriptionGrantStatusResult withStatus(SubscriptionGrantOverallStatus status)
The status to be updated as part of the UpdateSubscriptionGrantStatus
action.
status
- The status to be updated as part of the UpdateSubscriptionGrantStatus
action.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 UpdateSubscriptionGrantStatusResult withSubscriptionId(String subscriptionId)
The identifier of the subscription.
subscriptionId
- The identifier of the subscription.public void setSubscriptionTargetId(String subscriptionTargetId)
The identifier of the subscription target whose subscription grant status is to be updated.
subscriptionTargetId
- The identifier of the subscription target whose subscription grant status is to be updated.public String getSubscriptionTargetId()
The identifier of the subscription target whose subscription grant status is to be updated.
public UpdateSubscriptionGrantStatusResult withSubscriptionTargetId(String subscriptionTargetId)
The identifier of the subscription target whose subscription grant status is to be updated.
subscriptionTargetId
- The identifier of the subscription target whose subscription grant status is to be updated.public void setUpdatedAt(Date updatedAt)
The timestamp of when the subscription grant status is to be updated.
updatedAt
- The timestamp of when the subscription grant status is to be updated.public Date getUpdatedAt()
The timestamp of when the subscription grant status is to be updated.
public UpdateSubscriptionGrantStatusResult withUpdatedAt(Date updatedAt)
The timestamp of when the subscription grant status is to be updated.
updatedAt
- The timestamp of when the subscription grant status is to be updated.public void setUpdatedBy(String updatedBy)
The Amazon DataZone user who updated the subscription grant status.
updatedBy
- The Amazon DataZone user who updated the subscription grant status.public String getUpdatedBy()
The Amazon DataZone user who updated the subscription grant status.
public UpdateSubscriptionGrantStatusResult withUpdatedBy(String updatedBy)
The Amazon DataZone user who updated the subscription grant status.
updatedBy
- The Amazon DataZone user who updated the subscription grant status.public String toString()
toString
in class Object
Object.toString()
public UpdateSubscriptionGrantStatusResult clone()