@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SubscribedAsset extends Object implements Serializable, Cloneable, StructuredPojo
The details of the asset for which the subscription grant is created.
Constructor and Description |
---|
SubscribedAsset() |
Modifier and Type | Method and Description |
---|---|
SubscribedAsset |
clone() |
boolean |
equals(Object obj) |
String |
getAssetId()
The identifier of the asset for which the subscription grant is created.
|
String |
getAssetRevision()
The revision of the asset for which the subscription grant is created.
|
FailureCause |
getFailureCause()
The failure cause included in the details of the asset for which the subscription grant is created.
|
Date |
getFailureTimestamp()
The failure timestamp included in the details of the asset for which the subscription grant is created.
|
Date |
getGrantedTimestamp()
The timestamp of when the subscription grant to the asset is created.
|
String |
getStatus()
The status of the asset for which the subscription grant is created.
|
String |
getTargetName()
The target name of the asset for which the subscription grant is created.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAssetId(String assetId)
The identifier of the asset for which the subscription grant is created.
|
void |
setAssetRevision(String assetRevision)
The revision of the asset for which the subscription grant is created.
|
void |
setFailureCause(FailureCause failureCause)
The failure cause included in the details of the asset for which the subscription grant is created.
|
void |
setFailureTimestamp(Date failureTimestamp)
The failure timestamp included in the details of the asset for which the subscription grant is created.
|
void |
setGrantedTimestamp(Date grantedTimestamp)
The timestamp of when the subscription grant to the asset is created.
|
void |
setStatus(String status)
The status of the asset for which the subscription grant is created.
|
void |
setTargetName(String targetName)
The target name of the asset for which the subscription grant is created.
|
String |
toString()
Returns a string representation of this object.
|
SubscribedAsset |
withAssetId(String assetId)
The identifier of the asset for which the subscription grant is created.
|
SubscribedAsset |
withAssetRevision(String assetRevision)
The revision of the asset for which the subscription grant is created.
|
SubscribedAsset |
withFailureCause(FailureCause failureCause)
The failure cause included in the details of the asset for which the subscription grant is created.
|
SubscribedAsset |
withFailureTimestamp(Date failureTimestamp)
The failure timestamp included in the details of the asset for which the subscription grant is created.
|
SubscribedAsset |
withGrantedTimestamp(Date grantedTimestamp)
The timestamp of when the subscription grant to the asset is created.
|
SubscribedAsset |
withStatus(String status)
The status of the asset for which the subscription grant is created.
|
SubscribedAsset |
withStatus(SubscriptionGrantStatus status)
The status of the asset for which the subscription grant is created.
|
SubscribedAsset |
withTargetName(String targetName)
The target name of the asset for which the subscription grant is created.
|
public void setAssetId(String assetId)
The identifier of the asset for which the subscription grant is created.
assetId
- The identifier of the asset for which the subscription grant is created.public String getAssetId()
The identifier of the asset for which the subscription grant is created.
public SubscribedAsset withAssetId(String assetId)
The identifier of the asset for which the subscription grant is created.
assetId
- The identifier of the asset for which the subscription grant is created.public void setAssetRevision(String assetRevision)
The revision of the asset for which the subscription grant is created.
assetRevision
- The revision of the asset for which the subscription grant is created.public String getAssetRevision()
The revision of the asset for which the subscription grant is created.
public SubscribedAsset withAssetRevision(String assetRevision)
The revision of the asset for which the subscription grant is created.
assetRevision
- The revision of the asset for which the subscription grant is created.public void setFailureCause(FailureCause failureCause)
The failure cause included in the details of the asset for which the subscription grant is created.
failureCause
- The failure cause included in the details of the asset for which the subscription grant is created.public FailureCause getFailureCause()
The failure cause included in the details of the asset for which the subscription grant is created.
public SubscribedAsset withFailureCause(FailureCause failureCause)
The failure cause included in the details of the asset for which the subscription grant is created.
failureCause
- The failure cause included in the details of the asset for which the subscription grant is created.public void setFailureTimestamp(Date failureTimestamp)
The failure timestamp included in the details of the asset for which the subscription grant is created.
failureTimestamp
- The failure timestamp included in the details of the asset for which the subscription grant is created.public Date getFailureTimestamp()
The failure timestamp included in the details of the asset for which the subscription grant is created.
public SubscribedAsset withFailureTimestamp(Date failureTimestamp)
The failure timestamp included in the details of the asset for which the subscription grant is created.
failureTimestamp
- The failure timestamp included in the details of the asset for which the subscription grant is created.public void setGrantedTimestamp(Date grantedTimestamp)
The timestamp of when the subscription grant to the asset is created.
grantedTimestamp
- The timestamp of when the subscription grant to the asset is created.public Date getGrantedTimestamp()
The timestamp of when the subscription grant to the asset is created.
public SubscribedAsset withGrantedTimestamp(Date grantedTimestamp)
The timestamp of when the subscription grant to the asset is created.
grantedTimestamp
- The timestamp of when the subscription grant to the asset is created.public void setStatus(String status)
The status of the asset for which the subscription grant is created.
status
- The status of the asset for which the subscription grant is created.SubscriptionGrantStatus
public String getStatus()
The status of the asset for which the subscription grant is created.
SubscriptionGrantStatus
public SubscribedAsset withStatus(String status)
The status of the asset for which the subscription grant is created.
status
- The status of the asset for which the subscription grant is created.SubscriptionGrantStatus
public SubscribedAsset withStatus(SubscriptionGrantStatus status)
The status of the asset for which the subscription grant is created.
status
- The status of the asset for which the subscription grant is created.SubscriptionGrantStatus
public void setTargetName(String targetName)
The target name of the asset for which the subscription grant is created.
targetName
- The target name of the asset for which the subscription grant is created.public String getTargetName()
The target name of the asset for which the subscription grant is created.
public SubscribedAsset withTargetName(String targetName)
The target name of the asset for which the subscription grant is created.
targetName
- The target name of the asset for which the subscription grant is created.public String toString()
toString
in class Object
Object.toString()
public SubscribedAsset clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.