@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class StartLifecyclePolicyPreviewResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
StartLifecyclePolicyPreviewResult() |
Modifier and Type | Method and Description |
---|---|
StartLifecyclePolicyPreviewResult |
clone() |
boolean |
equals(Object obj) |
String |
getLifecyclePolicyText()
The JSON repository policy text.
|
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.
|
int |
hashCode() |
void |
setLifecyclePolicyText(String lifecyclePolicyText)
The JSON repository policy text.
|
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.
|
String |
toString()
Returns a string representation of this object.
|
StartLifecyclePolicyPreviewResult |
withLifecyclePolicyText(String lifecyclePolicyText)
The JSON repository policy text.
|
StartLifecyclePolicyPreviewResult |
withRegistryId(String registryId)
The registry ID associated with the request.
|
StartLifecyclePolicyPreviewResult |
withRepositoryName(String repositoryName)
The repository name associated with the request.
|
StartLifecyclePolicyPreviewResult |
withStatus(LifecyclePolicyPreviewStatus status)
The status of the lifecycle policy preview request.
|
StartLifecyclePolicyPreviewResult |
withStatus(String status)
The status of the lifecycle policy preview request.
|
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 StartLifecyclePolicyPreviewResult 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 StartLifecyclePolicyPreviewResult 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 repository policy text.
lifecyclePolicyText
- The JSON repository policy text.public String getLifecyclePolicyText()
The JSON repository policy text.
public StartLifecyclePolicyPreviewResult withLifecyclePolicyText(String lifecyclePolicyText)
The JSON repository policy text.
lifecyclePolicyText
- The JSON repository 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 StartLifecyclePolicyPreviewResult withStatus(String status)
The status of the lifecycle policy preview request.
status
- The status of the lifecycle policy preview request.LifecyclePolicyPreviewStatus
public StartLifecyclePolicyPreviewResult withStatus(LifecyclePolicyPreviewStatus status)
The status of the lifecycle policy preview request.
status
- The status of the lifecycle policy preview request.LifecyclePolicyPreviewStatus
public String toString()
toString
in class Object
Object.toString()
public StartLifecyclePolicyPreviewResult clone()