@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PutLifecyclePolicyRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
PutLifecyclePolicyRequest() |
Modifier and Type | Method and Description |
---|---|
PutLifecyclePolicyRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getLifecyclePolicyText()
The JSON repository policy text to apply to the repository.
|
String |
getRegistryId()
The AWS account ID associated with the registry that contains the repository.
|
String |
getRepositoryName()
The name of the repository to receive the policy.
|
int |
hashCode() |
void |
setLifecyclePolicyText(String lifecyclePolicyText)
The JSON repository policy text to apply to the repository.
|
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 receive the policy.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
PutLifecyclePolicyRequest |
withLifecyclePolicyText(String lifecyclePolicyText)
The JSON repository policy text to apply to the repository.
|
PutLifecyclePolicyRequest |
withRegistryId(String registryId)
The AWS account ID associated with the registry that contains the repository.
|
PutLifecyclePolicyRequest |
withRepositoryName(String repositoryName)
The name of the repository to receive the policy.
|
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 PutLifecyclePolicyRequest 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 receive the policy.
repositoryName
- The name of the repository to receive the policy.public String getRepositoryName()
The name of the repository to receive the policy.
public PutLifecyclePolicyRequest withRepositoryName(String repositoryName)
The name of the repository to receive the policy.
repositoryName
- The name of the repository to receive the policy.public void setLifecyclePolicyText(String lifecyclePolicyText)
The JSON repository policy text to apply to the repository.
lifecyclePolicyText
- The JSON repository policy text to apply to the repository.public String getLifecyclePolicyText()
The JSON repository policy text to apply to the repository.
public PutLifecyclePolicyRequest withLifecyclePolicyText(String lifecyclePolicyText)
The JSON repository policy text to apply to the repository.
lifecyclePolicyText
- The JSON repository policy text to apply to the repository.public String toString()
toString
in class Object
Object.toString()
public PutLifecyclePolicyRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.