@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class StartLifecyclePolicyPreviewRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
StartLifecyclePolicyPreviewRequest() |
Modifier and Type | Method and Description |
---|---|
StartLifecyclePolicyPreviewRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getLifecyclePolicyText()
The policy to be evaluated against.
|
String |
getRegistryId()
The AWS account ID associated with the registry that contains the repository.
|
String |
getRepositoryName()
The name of the repository to be evaluated.
|
int |
hashCode() |
void |
setLifecyclePolicyText(String lifecyclePolicyText)
The policy to be evaluated against.
|
void |
setRegistryId(String registryId)
The AWS account ID associated with the registry that contains the repository.
|
void |
setRepositoryName(String repositoryName)
The name of the repository to be evaluated.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
StartLifecyclePolicyPreviewRequest |
withLifecyclePolicyText(String lifecyclePolicyText)
The policy to be evaluated against.
|
StartLifecyclePolicyPreviewRequest |
withRegistryId(String registryId)
The AWS account ID associated with the registry that contains the repository.
|
StartLifecyclePolicyPreviewRequest |
withRepositoryName(String repositoryName)
The name of the repository to be evaluated.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setRegistryId(String registryId)
The AWS account ID associated with the registry that contains the repository. If you do not specify a registry, the default registry is assumed.
registryId
- The AWS account ID associated with the registry that contains the repository. If you do not specify a
registry, the default registry is assumed.public String getRegistryId()
The AWS account ID associated with the registry that contains the repository. If you do not specify a registry, the default registry is assumed.
public StartLifecyclePolicyPreviewRequest withRegistryId(String registryId)
The AWS account ID associated with the registry that contains the repository. If you do not specify a registry, the default registry is assumed.
registryId
- The AWS account ID associated with the registry that contains the repository. If you do not specify a
registry, the default registry is assumed.public void setRepositoryName(String repositoryName)
The name of the repository to be evaluated.
repositoryName
- The name of the repository to be evaluated.public String getRepositoryName()
The name of the repository to be evaluated.
public StartLifecyclePolicyPreviewRequest withRepositoryName(String repositoryName)
The name of the repository to be evaluated.
repositoryName
- The name of the repository to be evaluated.public void setLifecyclePolicyText(String lifecyclePolicyText)
The policy to be evaluated against. If you do not specify a policy, the current policy for the repository is used.
lifecyclePolicyText
- The policy to be evaluated against. If you do not specify a policy, the current policy for the repository
is used.public String getLifecyclePolicyText()
The policy to be evaluated against. If you do not specify a policy, the current policy for the repository is used.
public StartLifecyclePolicyPreviewRequest withLifecyclePolicyText(String lifecyclePolicyText)
The policy to be evaluated against. If you do not specify a policy, the current policy for the repository is used.
lifecyclePolicyText
- The policy to be evaluated against. If you do not specify a policy, the current policy for the repository
is used.public String toString()
toString
in class Object
Object.toString()
public StartLifecyclePolicyPreviewRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.