@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AcceptSubscriptionRequestResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
AcceptSubscriptionRequestResult() |
Modifier and Type | Method and Description |
---|---|
AcceptSubscriptionRequestResult |
clone() |
boolean |
equals(Object obj) |
Date |
getCreatedAt()
The timestamp that specifies when the subscription request was accepted.
|
String |
getCreatedBy()
Specifies the Amazon DataZone user that accepted the specified subscription request.
|
String |
getDecisionComment()
Specifies the reason for accepting the subscription request.
|
String |
getDomainId()
The unique identifier of the Amazon DataZone domain where the specified subscription request was accepted.
|
String |
getId()
The identifier of the subscription request.
|
String |
getRequestReason()
Specifies the reason for requesting a subscription to the asset.
|
String |
getReviewerId()
Specifes the ID of the Amazon DataZone user who reviewed the subscription request.
|
String |
getStatus()
Specifies the status of the subscription request.
|
List<SubscribedListing> |
getSubscribedListings()
Specifies the asset for which the subscription request was created.
|
List<SubscribedPrincipal> |
getSubscribedPrincipals()
Specifies the Amazon DataZone users who are subscribed to the asset specified in the subscription request.
|
Date |
getUpdatedAt()
Specifies the timestamp when subscription request was updated.
|
String |
getUpdatedBy()
Specifies the Amazon DataZone user who updated the subscription request.
|
int |
hashCode() |
void |
setCreatedAt(Date createdAt)
The timestamp that specifies when the subscription request was accepted.
|
void |
setCreatedBy(String createdBy)
Specifies the Amazon DataZone user that accepted the specified subscription request.
|
void |
setDecisionComment(String decisionComment)
Specifies the reason for accepting the subscription request.
|
void |
setDomainId(String domainId)
The unique identifier of the Amazon DataZone domain where the specified subscription request was accepted.
|
void |
setId(String id)
The identifier of the subscription request.
|
void |
setRequestReason(String requestReason)
Specifies the reason for requesting a subscription to the asset.
|
void |
setReviewerId(String reviewerId)
Specifes the ID of the Amazon DataZone user who reviewed the subscription request.
|
void |
setStatus(String status)
Specifies the status of the subscription request.
|
void |
setSubscribedListings(Collection<SubscribedListing> subscribedListings)
Specifies the asset for which the subscription request was created.
|
void |
setSubscribedPrincipals(Collection<SubscribedPrincipal> subscribedPrincipals)
Specifies the Amazon DataZone users who are subscribed to the asset specified in the subscription request.
|
void |
setUpdatedAt(Date updatedAt)
Specifies the timestamp when subscription request was updated.
|
void |
setUpdatedBy(String updatedBy)
Specifies the Amazon DataZone user who updated the subscription request.
|
String |
toString()
Returns a string representation of this object.
|
AcceptSubscriptionRequestResult |
withCreatedAt(Date createdAt)
The timestamp that specifies when the subscription request was accepted.
|
AcceptSubscriptionRequestResult |
withCreatedBy(String createdBy)
Specifies the Amazon DataZone user that accepted the specified subscription request.
|
AcceptSubscriptionRequestResult |
withDecisionComment(String decisionComment)
Specifies the reason for accepting the subscription request.
|
AcceptSubscriptionRequestResult |
withDomainId(String domainId)
The unique identifier of the Amazon DataZone domain where the specified subscription request was accepted.
|
AcceptSubscriptionRequestResult |
withId(String id)
The identifier of the subscription request.
|
AcceptSubscriptionRequestResult |
withRequestReason(String requestReason)
Specifies the reason for requesting a subscription to the asset.
|
AcceptSubscriptionRequestResult |
withReviewerId(String reviewerId)
Specifes the ID of the Amazon DataZone user who reviewed the subscription request.
|
AcceptSubscriptionRequestResult |
withStatus(String status)
Specifies the status of the subscription request.
|
AcceptSubscriptionRequestResult |
withStatus(SubscriptionRequestStatus status)
Specifies the status of the subscription request.
|
AcceptSubscriptionRequestResult |
withSubscribedListings(Collection<SubscribedListing> subscribedListings)
Specifies the asset for which the subscription request was created.
|
AcceptSubscriptionRequestResult |
withSubscribedListings(SubscribedListing... subscribedListings)
Specifies the asset for which the subscription request was created.
|
AcceptSubscriptionRequestResult |
withSubscribedPrincipals(Collection<SubscribedPrincipal> subscribedPrincipals)
Specifies the Amazon DataZone users who are subscribed to the asset specified in the subscription request.
|
AcceptSubscriptionRequestResult |
withSubscribedPrincipals(SubscribedPrincipal... subscribedPrincipals)
Specifies the Amazon DataZone users who are subscribed to the asset specified in the subscription request.
|
AcceptSubscriptionRequestResult |
withUpdatedAt(Date updatedAt)
Specifies the timestamp when subscription request was updated.
|
AcceptSubscriptionRequestResult |
withUpdatedBy(String updatedBy)
Specifies the Amazon DataZone user who updated the subscription request.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setCreatedAt(Date createdAt)
The timestamp that specifies when the subscription request was accepted.
createdAt
- The timestamp that specifies when the subscription request was accepted.public Date getCreatedAt()
The timestamp that specifies when the subscription request was accepted.
public AcceptSubscriptionRequestResult withCreatedAt(Date createdAt)
The timestamp that specifies when the subscription request was accepted.
createdAt
- The timestamp that specifies when the subscription request was accepted.public void setCreatedBy(String createdBy)
Specifies the Amazon DataZone user that accepted the specified subscription request.
createdBy
- Specifies the Amazon DataZone user that accepted the specified subscription request.public String getCreatedBy()
Specifies the Amazon DataZone user that accepted the specified subscription request.
public AcceptSubscriptionRequestResult withCreatedBy(String createdBy)
Specifies the Amazon DataZone user that accepted the specified subscription request.
createdBy
- Specifies the Amazon DataZone user that accepted the specified subscription request.public void setDecisionComment(String decisionComment)
Specifies the reason for accepting the subscription request.
decisionComment
- Specifies the reason for accepting the subscription request.public String getDecisionComment()
Specifies the reason for accepting the subscription request.
public AcceptSubscriptionRequestResult withDecisionComment(String decisionComment)
Specifies the reason for accepting the subscription request.
decisionComment
- Specifies the reason for accepting the subscription request.public void setDomainId(String domainId)
The unique identifier of the Amazon DataZone domain where the specified subscription request was accepted.
domainId
- The unique identifier of the Amazon DataZone domain where the specified subscription request was accepted.public String getDomainId()
The unique identifier of the Amazon DataZone domain where the specified subscription request was accepted.
public AcceptSubscriptionRequestResult withDomainId(String domainId)
The unique identifier of the Amazon DataZone domain where the specified subscription request was accepted.
domainId
- The unique identifier of the Amazon DataZone domain where the specified subscription request was accepted.public void setId(String id)
The identifier of the subscription request.
id
- The identifier of the subscription request.public String getId()
The identifier of the subscription request.
public AcceptSubscriptionRequestResult withId(String id)
The identifier of the subscription request.
id
- The identifier of the subscription request.public void setRequestReason(String requestReason)
Specifies the reason for requesting a subscription to the asset.
requestReason
- Specifies the reason for requesting a subscription to the asset.public String getRequestReason()
Specifies the reason for requesting a subscription to the asset.
public AcceptSubscriptionRequestResult withRequestReason(String requestReason)
Specifies the reason for requesting a subscription to the asset.
requestReason
- Specifies the reason for requesting a subscription to the asset.public void setReviewerId(String reviewerId)
Specifes the ID of the Amazon DataZone user who reviewed the subscription request.
reviewerId
- Specifes the ID of the Amazon DataZone user who reviewed the subscription request.public String getReviewerId()
Specifes the ID of the Amazon DataZone user who reviewed the subscription request.
public AcceptSubscriptionRequestResult withReviewerId(String reviewerId)
Specifes the ID of the Amazon DataZone user who reviewed the subscription request.
reviewerId
- Specifes the ID of the Amazon DataZone user who reviewed the subscription request.public void setStatus(String status)
Specifies the status of the subscription request.
status
- Specifies the status of the subscription request.SubscriptionRequestStatus
public String getStatus()
Specifies the status of the subscription request.
SubscriptionRequestStatus
public AcceptSubscriptionRequestResult withStatus(String status)
Specifies the status of the subscription request.
status
- Specifies the status of the subscription request.SubscriptionRequestStatus
public AcceptSubscriptionRequestResult withStatus(SubscriptionRequestStatus status)
Specifies the status of the subscription request.
status
- Specifies the status of the subscription request.SubscriptionRequestStatus
public List<SubscribedListing> getSubscribedListings()
Specifies the asset for which the subscription request was created.
public void setSubscribedListings(Collection<SubscribedListing> subscribedListings)
Specifies the asset for which the subscription request was created.
subscribedListings
- Specifies the asset for which the subscription request was created.public AcceptSubscriptionRequestResult withSubscribedListings(SubscribedListing... subscribedListings)
Specifies the asset for which the subscription request was created.
NOTE: This method appends the values to the existing list (if any). Use
setSubscribedListings(java.util.Collection)
or withSubscribedListings(java.util.Collection)
if
you want to override the existing values.
subscribedListings
- Specifies the asset for which the subscription request was created.public AcceptSubscriptionRequestResult withSubscribedListings(Collection<SubscribedListing> subscribedListings)
Specifies the asset for which the subscription request was created.
subscribedListings
- Specifies the asset for which the subscription request was created.public List<SubscribedPrincipal> getSubscribedPrincipals()
Specifies the Amazon DataZone users who are subscribed to the asset specified in the subscription request.
public void setSubscribedPrincipals(Collection<SubscribedPrincipal> subscribedPrincipals)
Specifies the Amazon DataZone users who are subscribed to the asset specified in the subscription request.
subscribedPrincipals
- Specifies the Amazon DataZone users who are subscribed to the asset specified in the subscription request.public AcceptSubscriptionRequestResult withSubscribedPrincipals(SubscribedPrincipal... subscribedPrincipals)
Specifies the Amazon DataZone users who are subscribed to the asset specified in the subscription request.
NOTE: This method appends the values to the existing list (if any). Use
setSubscribedPrincipals(java.util.Collection)
or withSubscribedPrincipals(java.util.Collection)
if you want to override the existing values.
subscribedPrincipals
- Specifies the Amazon DataZone users who are subscribed to the asset specified in the subscription request.public AcceptSubscriptionRequestResult withSubscribedPrincipals(Collection<SubscribedPrincipal> subscribedPrincipals)
Specifies the Amazon DataZone users who are subscribed to the asset specified in the subscription request.
subscribedPrincipals
- Specifies the Amazon DataZone users who are subscribed to the asset specified in the subscription request.public void setUpdatedAt(Date updatedAt)
Specifies the timestamp when subscription request was updated.
updatedAt
- Specifies the timestamp when subscription request was updated.public Date getUpdatedAt()
Specifies the timestamp when subscription request was updated.
public AcceptSubscriptionRequestResult withUpdatedAt(Date updatedAt)
Specifies the timestamp when subscription request was updated.
updatedAt
- Specifies the timestamp when subscription request was updated.public void setUpdatedBy(String updatedBy)
Specifies the Amazon DataZone user who updated the subscription request.
updatedBy
- Specifies the Amazon DataZone user who updated the subscription request.public String getUpdatedBy()
Specifies the Amazon DataZone user who updated the subscription request.
public AcceptSubscriptionRequestResult withUpdatedBy(String updatedBy)
Specifies the Amazon DataZone user who updated the subscription request.
updatedBy
- Specifies the Amazon DataZone user who updated the subscription request.public String toString()
toString
in class Object
Object.toString()
public AcceptSubscriptionRequestResult clone()