@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RevisionEntry extends Object implements Serializable, Cloneable, StructuredPojo
A revision is a container for one or more assets.
Constructor and Description |
---|
RevisionEntry() |
Modifier and Type | Method and Description |
---|---|
RevisionEntry |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The ARN for the revision.
|
String |
getComment()
An optional comment about the revision.
|
Date |
getCreatedAt()
The date and time that the revision was created, in ISO 8601 format.
|
String |
getDataSetId()
The unique identifier for the data set associated with the data set revision.
|
Boolean |
getFinalized()
To publish a revision to a data set in a product, the revision must first be finalized.
|
String |
getId()
The unique identifier for the revision.
|
String |
getRevocationComment()
A required comment to inform subscribers of the reason their access to the revision was revoked.
|
Boolean |
getRevoked()
A status indicating that subscribers' access to the revision was revoked.
|
Date |
getRevokedAt()
The date and time that the revision was revoked, in ISO 8601 format.
|
String |
getSourceId()
The revision ID of the owned revision corresponding to the entitled revision being viewed.
|
Date |
getUpdatedAt()
The date and time that the revision was last updated, in ISO 8601 format.
|
int |
hashCode() |
Boolean |
isFinalized()
To publish a revision to a data set in a product, the revision must first be finalized.
|
Boolean |
isRevoked()
A status indicating that subscribers' access to the revision was revoked.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setArn(String arn)
The ARN for the revision.
|
void |
setComment(String comment)
An optional comment about the revision.
|
void |
setCreatedAt(Date createdAt)
The date and time that the revision was created, in ISO 8601 format.
|
void |
setDataSetId(String dataSetId)
The unique identifier for the data set associated with the data set revision.
|
void |
setFinalized(Boolean finalized)
To publish a revision to a data set in a product, the revision must first be finalized.
|
void |
setId(String id)
The unique identifier for the revision.
|
void |
setRevocationComment(String revocationComment)
A required comment to inform subscribers of the reason their access to the revision was revoked.
|
void |
setRevoked(Boolean revoked)
A status indicating that subscribers' access to the revision was revoked.
|
void |
setRevokedAt(Date revokedAt)
The date and time that the revision was revoked, in ISO 8601 format.
|
void |
setSourceId(String sourceId)
The revision ID of the owned revision corresponding to the entitled revision being viewed.
|
void |
setUpdatedAt(Date updatedAt)
The date and time that the revision was last updated, in ISO 8601 format.
|
String |
toString()
Returns a string representation of this object.
|
RevisionEntry |
withArn(String arn)
The ARN for the revision.
|
RevisionEntry |
withComment(String comment)
An optional comment about the revision.
|
RevisionEntry |
withCreatedAt(Date createdAt)
The date and time that the revision was created, in ISO 8601 format.
|
RevisionEntry |
withDataSetId(String dataSetId)
The unique identifier for the data set associated with the data set revision.
|
RevisionEntry |
withFinalized(Boolean finalized)
To publish a revision to a data set in a product, the revision must first be finalized.
|
RevisionEntry |
withId(String id)
The unique identifier for the revision.
|
RevisionEntry |
withRevocationComment(String revocationComment)
A required comment to inform subscribers of the reason their access to the revision was revoked.
|
RevisionEntry |
withRevoked(Boolean revoked)
A status indicating that subscribers' access to the revision was revoked.
|
RevisionEntry |
withRevokedAt(Date revokedAt)
The date and time that the revision was revoked, in ISO 8601 format.
|
RevisionEntry |
withSourceId(String sourceId)
The revision ID of the owned revision corresponding to the entitled revision being viewed.
|
RevisionEntry |
withUpdatedAt(Date updatedAt)
The date and time that the revision was last updated, in ISO 8601 format.
|
public void setArn(String arn)
The ARN for the revision.
arn
- The ARN for the revision.public String getArn()
The ARN for the revision.
public RevisionEntry withArn(String arn)
The ARN for the revision.
arn
- The ARN for the revision.public void setComment(String comment)
An optional comment about the revision.
comment
- An optional comment about the revision.public String getComment()
An optional comment about the revision.
public RevisionEntry withComment(String comment)
An optional comment about the revision.
comment
- An optional comment about the revision.public void setCreatedAt(Date createdAt)
The date and time that the revision was created, in ISO 8601 format.
createdAt
- The date and time that the revision was created, in ISO 8601 format.public Date getCreatedAt()
The date and time that the revision was created, in ISO 8601 format.
public RevisionEntry withCreatedAt(Date createdAt)
The date and time that the revision was created, in ISO 8601 format.
createdAt
- The date and time that the revision was created, in ISO 8601 format.public void setDataSetId(String dataSetId)
The unique identifier for the data set associated with the data set revision.
dataSetId
- The unique identifier for the data set associated with the data set revision.public String getDataSetId()
The unique identifier for the data set associated with the data set revision.
public RevisionEntry withDataSetId(String dataSetId)
The unique identifier for the data set associated with the data set revision.
dataSetId
- The unique identifier for the data set associated with the data set revision.public void setFinalized(Boolean finalized)
To publish a revision to a data set in a product, the revision must first be finalized. Finalizing a revision tells AWS Data Exchange that your changes to the assets in the revision are complete. After it's in this read-only state, you can publish the revision to your products. Finalized revisions can be published through the AWS Data Exchange console or the AWS Marketplace Catalog API, using the StartChangeSet AWS Marketplace Catalog API action. When using the API, revisions are uniquely identified by their ARN.
finalized
- To publish a revision to a data set in a product, the revision must first be finalized. Finalizing a
revision tells AWS Data Exchange that your changes to the assets in the revision are complete. After it's
in this read-only state, you can publish the revision to your products. Finalized revisions can be
published through the AWS Data Exchange console or the AWS Marketplace Catalog API, using the
StartChangeSet AWS Marketplace Catalog API action. When using the API, revisions are uniquely identified
by their ARN.public Boolean getFinalized()
To publish a revision to a data set in a product, the revision must first be finalized. Finalizing a revision tells AWS Data Exchange that your changes to the assets in the revision are complete. After it's in this read-only state, you can publish the revision to your products. Finalized revisions can be published through the AWS Data Exchange console or the AWS Marketplace Catalog API, using the StartChangeSet AWS Marketplace Catalog API action. When using the API, revisions are uniquely identified by their ARN.
public RevisionEntry withFinalized(Boolean finalized)
To publish a revision to a data set in a product, the revision must first be finalized. Finalizing a revision tells AWS Data Exchange that your changes to the assets in the revision are complete. After it's in this read-only state, you can publish the revision to your products. Finalized revisions can be published through the AWS Data Exchange console or the AWS Marketplace Catalog API, using the StartChangeSet AWS Marketplace Catalog API action. When using the API, revisions are uniquely identified by their ARN.
finalized
- To publish a revision to a data set in a product, the revision must first be finalized. Finalizing a
revision tells AWS Data Exchange that your changes to the assets in the revision are complete. After it's
in this read-only state, you can publish the revision to your products. Finalized revisions can be
published through the AWS Data Exchange console or the AWS Marketplace Catalog API, using the
StartChangeSet AWS Marketplace Catalog API action. When using the API, revisions are uniquely identified
by their ARN.public Boolean isFinalized()
To publish a revision to a data set in a product, the revision must first be finalized. Finalizing a revision tells AWS Data Exchange that your changes to the assets in the revision are complete. After it's in this read-only state, you can publish the revision to your products. Finalized revisions can be published through the AWS Data Exchange console or the AWS Marketplace Catalog API, using the StartChangeSet AWS Marketplace Catalog API action. When using the API, revisions are uniquely identified by their ARN.
public void setId(String id)
The unique identifier for the revision.
id
- The unique identifier for the revision.public String getId()
The unique identifier for the revision.
public RevisionEntry withId(String id)
The unique identifier for the revision.
id
- The unique identifier for the revision.public void setSourceId(String sourceId)
The revision ID of the owned revision corresponding to the entitled revision being viewed. This parameter is returned when a revision owner is viewing the entitled copy of its owned revision.
sourceId
- The revision ID of the owned revision corresponding to the entitled revision being viewed. This parameter
is returned when a revision owner is viewing the entitled copy of its owned revision.public String getSourceId()
The revision ID of the owned revision corresponding to the entitled revision being viewed. This parameter is returned when a revision owner is viewing the entitled copy of its owned revision.
public RevisionEntry withSourceId(String sourceId)
The revision ID of the owned revision corresponding to the entitled revision being viewed. This parameter is returned when a revision owner is viewing the entitled copy of its owned revision.
sourceId
- The revision ID of the owned revision corresponding to the entitled revision being viewed. This parameter
is returned when a revision owner is viewing the entitled copy of its owned revision.public void setUpdatedAt(Date updatedAt)
The date and time that the revision was last updated, in ISO 8601 format.
updatedAt
- The date and time that the revision was last updated, in ISO 8601 format.public Date getUpdatedAt()
The date and time that the revision was last updated, in ISO 8601 format.
public RevisionEntry withUpdatedAt(Date updatedAt)
The date and time that the revision was last updated, in ISO 8601 format.
updatedAt
- The date and time that the revision was last updated, in ISO 8601 format.public void setRevocationComment(String revocationComment)
A required comment to inform subscribers of the reason their access to the revision was revoked.
revocationComment
- A required comment to inform subscribers of the reason their access to the revision was revoked.public String getRevocationComment()
A required comment to inform subscribers of the reason their access to the revision was revoked.
public RevisionEntry withRevocationComment(String revocationComment)
A required comment to inform subscribers of the reason their access to the revision was revoked.
revocationComment
- A required comment to inform subscribers of the reason their access to the revision was revoked.public void setRevoked(Boolean revoked)
A status indicating that subscribers' access to the revision was revoked.
revoked
- A status indicating that subscribers' access to the revision was revoked.public Boolean getRevoked()
A status indicating that subscribers' access to the revision was revoked.
public RevisionEntry withRevoked(Boolean revoked)
A status indicating that subscribers' access to the revision was revoked.
revoked
- A status indicating that subscribers' access to the revision was revoked.public Boolean isRevoked()
A status indicating that subscribers' access to the revision was revoked.
public void setRevokedAt(Date revokedAt)
The date and time that the revision was revoked, in ISO 8601 format.
revokedAt
- The date and time that the revision was revoked, in ISO 8601 format.public Date getRevokedAt()
The date and time that the revision was revoked, in ISO 8601 format.
public RevisionEntry withRevokedAt(Date revokedAt)
The date and time that the revision was revoked, in ISO 8601 format.
revokedAt
- The date and time that the revision was revoked, in ISO 8601 format.public String toString()
toString
in class Object
Object.toString()
public RevisionEntry clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.