@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateRevisionResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
CreateRevisionResult() |
Modifier and Type | Method and Description |
---|---|
CreateRevisionResult |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
CreateRevisionResult |
clearTagsEntries()
Removes all the entries added into Tags.
|
CreateRevisionResult |
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 this 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 |
getSourceId()
The revision ID of the owned revision corresponding to the entitled revision being viewed.
|
Map<String,String> |
getTags()
The tags for the revision.
|
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.
|
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 this 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 |
setSourceId(String sourceId)
The revision ID of the owned revision corresponding to the entitled revision being viewed.
|
void |
setTags(Map<String,String> tags)
The tags for the revision.
|
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.
|
CreateRevisionResult |
withArn(String arn)
The ARN for the revision
|
CreateRevisionResult |
withComment(String comment)
An optional comment about the revision.
|
CreateRevisionResult |
withCreatedAt(Date createdAt)
The date and time that the revision was created, in ISO 8601 format.
|
CreateRevisionResult |
withDataSetId(String dataSetId)
The unique identifier for the data set associated with this revision.
|
CreateRevisionResult |
withFinalized(Boolean finalized)
To publish a revision to a data set in a product, the revision must first be finalized.
|
CreateRevisionResult |
withId(String id)
The unique identifier for the revision.
|
CreateRevisionResult |
withSourceId(String sourceId)
The revision ID of the owned revision corresponding to the entitled revision being viewed.
|
CreateRevisionResult |
withTags(Map<String,String> tags)
The tags for the revision.
|
CreateRevisionResult |
withUpdatedAt(Date updatedAt)
The date and time that the revision was last updated, in ISO 8601 format.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setArn(String arn)
The ARN for the revision
arn
- The ARN for the revisionpublic String getArn()
The ARN for the revision
public CreateRevisionResult withArn(String arn)
The ARN for the revision
arn
- The ARN for the revisionpublic 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 CreateRevisionResult 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 CreateRevisionResult 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 this revision.
dataSetId
- The unique identifier for the data set associated with this revision.public String getDataSetId()
The unique identifier for the data set associated with this revision.
public CreateRevisionResult withDataSetId(String dataSetId)
The unique identifier for the data set associated with this revision.
dataSetId
- The unique identifier for the data set associated with this 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.
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 CreateRevisionResult 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.
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 CreateRevisionResult 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 CreateRevisionResult 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 Map<String,String> getTags()
The tags for the revision.
public void setTags(Map<String,String> tags)
The tags for the revision.
tags
- The tags for the revision.public CreateRevisionResult withTags(Map<String,String> tags)
The tags for the revision.
tags
- The tags for the revision.public CreateRevisionResult addTagsEntry(String key, String value)
public CreateRevisionResult clearTagsEntries()
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 CreateRevisionResult 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 String toString()
toString
in class Object
Object.toString()
public CreateRevisionResult clone()