@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetLifecyclePolicyPreviewResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetLifecyclePolicyPreviewResult() |
Modifier and Type | Method and Description |
---|---|
GetLifecyclePolicyPreviewResult |
clone() |
boolean |
equals(Object obj) |
String |
getLifecyclePolicyText()
The JSON lifecycle policy text.
|
String |
getNextToken()
The
nextToken value to include in a future GetLifecyclePolicyPreview request. |
List<LifecyclePolicyPreviewResult> |
getPreviewResults()
The results of the lifecycle policy preview request.
|
String |
getRegistryId()
The registry ID associated with the request.
|
String |
getRepositoryName()
The repository name associated with the request.
|
String |
getStatus()
The status of the lifecycle policy preview request.
|
LifecyclePolicyPreviewSummary |
getSummary()
The list of images that is returned as a result of the action.
|
int |
hashCode() |
void |
setLifecyclePolicyText(String lifecyclePolicyText)
The JSON lifecycle policy text.
|
void |
setNextToken(String nextToken)
The
nextToken value to include in a future GetLifecyclePolicyPreview request. |
void |
setPreviewResults(Collection<LifecyclePolicyPreviewResult> previewResults)
The results of the lifecycle policy preview request.
|
void |
setRegistryId(String registryId)
The registry ID associated with the request.
|
void |
setRepositoryName(String repositoryName)
The repository name associated with the request.
|
void |
setStatus(String status)
The status of the lifecycle policy preview request.
|
void |
setSummary(LifecyclePolicyPreviewSummary summary)
The list of images that is returned as a result of the action.
|
String |
toString()
Returns a string representation of this object.
|
GetLifecyclePolicyPreviewResult |
withLifecyclePolicyText(String lifecyclePolicyText)
The JSON lifecycle policy text.
|
GetLifecyclePolicyPreviewResult |
withNextToken(String nextToken)
The
nextToken value to include in a future GetLifecyclePolicyPreview request. |
GetLifecyclePolicyPreviewResult |
withPreviewResults(Collection<LifecyclePolicyPreviewResult> previewResults)
The results of the lifecycle policy preview request.
|
GetLifecyclePolicyPreviewResult |
withPreviewResults(LifecyclePolicyPreviewResult... previewResults)
The results of the lifecycle policy preview request.
|
GetLifecyclePolicyPreviewResult |
withRegistryId(String registryId)
The registry ID associated with the request.
|
GetLifecyclePolicyPreviewResult |
withRepositoryName(String repositoryName)
The repository name associated with the request.
|
GetLifecyclePolicyPreviewResult |
withStatus(LifecyclePolicyPreviewStatus status)
The status of the lifecycle policy preview request.
|
GetLifecyclePolicyPreviewResult |
withStatus(String status)
The status of the lifecycle policy preview request.
|
GetLifecyclePolicyPreviewResult |
withSummary(LifecyclePolicyPreviewSummary summary)
The list of images that is returned as a result of the action.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setRegistryId(String registryId)
The registry ID associated with the request.
registryId
- The registry ID associated with the request.public String getRegistryId()
The registry ID associated with the request.
public GetLifecyclePolicyPreviewResult withRegistryId(String registryId)
The registry ID associated with the request.
registryId
- The registry ID associated with the request.public void setRepositoryName(String repositoryName)
The repository name associated with the request.
repositoryName
- The repository name associated with the request.public String getRepositoryName()
The repository name associated with the request.
public GetLifecyclePolicyPreviewResult withRepositoryName(String repositoryName)
The repository name associated with the request.
repositoryName
- The repository name associated with the request.public void setLifecyclePolicyText(String lifecyclePolicyText)
The JSON lifecycle policy text.
lifecyclePolicyText
- The JSON lifecycle policy text.public String getLifecyclePolicyText()
The JSON lifecycle policy text.
public GetLifecyclePolicyPreviewResult withLifecyclePolicyText(String lifecyclePolicyText)
The JSON lifecycle policy text.
lifecyclePolicyText
- The JSON lifecycle policy text.public void setStatus(String status)
The status of the lifecycle policy preview request.
status
- The status of the lifecycle policy preview request.LifecyclePolicyPreviewStatus
public String getStatus()
The status of the lifecycle policy preview request.
LifecyclePolicyPreviewStatus
public GetLifecyclePolicyPreviewResult withStatus(String status)
The status of the lifecycle policy preview request.
status
- The status of the lifecycle policy preview request.LifecyclePolicyPreviewStatus
public GetLifecyclePolicyPreviewResult withStatus(LifecyclePolicyPreviewStatus status)
The status of the lifecycle policy preview request.
status
- The status of the lifecycle policy preview request.LifecyclePolicyPreviewStatus
public void setNextToken(String nextToken)
The nextToken
value to include in a future GetLifecyclePolicyPreview
request. When the
results of a GetLifecyclePolicyPreview
request exceed maxResults
, this value can be
used to retrieve the next page of results. This value is null
when there are no more results to
return.
nextToken
- The nextToken
value to include in a future GetLifecyclePolicyPreview
request.
When the results of a GetLifecyclePolicyPreview
request exceed maxResults
, this
value can be used to retrieve the next page of results. This value is null
when there are no
more results to return.public String getNextToken()
The nextToken
value to include in a future GetLifecyclePolicyPreview
request. When the
results of a GetLifecyclePolicyPreview
request exceed maxResults
, this value can be
used to retrieve the next page of results. This value is null
when there are no more results to
return.
nextToken
value to include in a future GetLifecyclePolicyPreview
request.
When the results of a GetLifecyclePolicyPreview
request exceed maxResults
, this
value can be used to retrieve the next page of results. This value is null
when there are no
more results to return.public GetLifecyclePolicyPreviewResult withNextToken(String nextToken)
The nextToken
value to include in a future GetLifecyclePolicyPreview
request. When the
results of a GetLifecyclePolicyPreview
request exceed maxResults
, this value can be
used to retrieve the next page of results. This value is null
when there are no more results to
return.
nextToken
- The nextToken
value to include in a future GetLifecyclePolicyPreview
request.
When the results of a GetLifecyclePolicyPreview
request exceed maxResults
, this
value can be used to retrieve the next page of results. This value is null
when there are no
more results to return.public List<LifecyclePolicyPreviewResult> getPreviewResults()
The results of the lifecycle policy preview request.
public void setPreviewResults(Collection<LifecyclePolicyPreviewResult> previewResults)
The results of the lifecycle policy preview request.
previewResults
- The results of the lifecycle policy preview request.public GetLifecyclePolicyPreviewResult withPreviewResults(LifecyclePolicyPreviewResult... previewResults)
The results of the lifecycle policy preview request.
NOTE: This method appends the values to the existing list (if any). Use
setPreviewResults(java.util.Collection)
or withPreviewResults(java.util.Collection)
if you want
to override the existing values.
previewResults
- The results of the lifecycle policy preview request.public GetLifecyclePolicyPreviewResult withPreviewResults(Collection<LifecyclePolicyPreviewResult> previewResults)
The results of the lifecycle policy preview request.
previewResults
- The results of the lifecycle policy preview request.public void setSummary(LifecyclePolicyPreviewSummary summary)
The list of images that is returned as a result of the action.
summary
- The list of images that is returned as a result of the action.public LifecyclePolicyPreviewSummary getSummary()
The list of images that is returned as a result of the action.
public GetLifecyclePolicyPreviewResult withSummary(LifecyclePolicyPreviewSummary summary)
The list of images that is returned as a result of the action.
summary
- The list of images that is returned as a result of the action.public String toString()
toString
in class Object
Object.toString()
public GetLifecyclePolicyPreviewResult clone()