@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreatePullThroughCacheRuleRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreatePullThroughCacheRuleRequest() |
Modifier and Type | Method and Description |
---|---|
CreatePullThroughCacheRuleRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getEcrRepositoryPrefix()
The repository name prefix to use when caching images from the source registry.
|
String |
getRegistryId()
The Amazon Web Services account ID associated with the registry to create the pull through cache rule for.
|
String |
getUpstreamRegistryUrl()
The registry URL of the upstream public registry to use as the source for the pull through cache rule.
|
int |
hashCode() |
void |
setEcrRepositoryPrefix(String ecrRepositoryPrefix)
The repository name prefix to use when caching images from the source registry.
|
void |
setRegistryId(String registryId)
The Amazon Web Services account ID associated with the registry to create the pull through cache rule for.
|
void |
setUpstreamRegistryUrl(String upstreamRegistryUrl)
The registry URL of the upstream public registry to use as the source for the pull through cache rule.
|
String |
toString()
Returns a string representation of this object.
|
CreatePullThroughCacheRuleRequest |
withEcrRepositoryPrefix(String ecrRepositoryPrefix)
The repository name prefix to use when caching images from the source registry.
|
CreatePullThroughCacheRuleRequest |
withRegistryId(String registryId)
The Amazon Web Services account ID associated with the registry to create the pull through cache rule for.
|
CreatePullThroughCacheRuleRequest |
withUpstreamRegistryUrl(String upstreamRegistryUrl)
The registry URL of the upstream public registry to use as the source for the pull through cache rule.
|
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 setEcrRepositoryPrefix(String ecrRepositoryPrefix)
The repository name prefix to use when caching images from the source registry.
ecrRepositoryPrefix
- The repository name prefix to use when caching images from the source registry.public String getEcrRepositoryPrefix()
The repository name prefix to use when caching images from the source registry.
public CreatePullThroughCacheRuleRequest withEcrRepositoryPrefix(String ecrRepositoryPrefix)
The repository name prefix to use when caching images from the source registry.
ecrRepositoryPrefix
- The repository name prefix to use when caching images from the source registry.public void setUpstreamRegistryUrl(String upstreamRegistryUrl)
The registry URL of the upstream public registry to use as the source for the pull through cache rule.
upstreamRegistryUrl
- The registry URL of the upstream public registry to use as the source for the pull through cache rule.public String getUpstreamRegistryUrl()
The registry URL of the upstream public registry to use as the source for the pull through cache rule.
public CreatePullThroughCacheRuleRequest withUpstreamRegistryUrl(String upstreamRegistryUrl)
The registry URL of the upstream public registry to use as the source for the pull through cache rule.
upstreamRegistryUrl
- The registry URL of the upstream public registry to use as the source for the pull through cache rule.public void setRegistryId(String registryId)
The Amazon Web Services account ID associated with the registry to create the pull through cache rule for. If you do not specify a registry, the default registry is assumed.
registryId
- The Amazon Web Services account ID associated with the registry to create the pull through cache rule for.
If you do not specify a registry, the default registry is assumed.public String getRegistryId()
The Amazon Web Services account ID associated with the registry to create the pull through cache rule for. If you do not specify a registry, the default registry is assumed.
public CreatePullThroughCacheRuleRequest withRegistryId(String registryId)
The Amazon Web Services account ID associated with the registry to create the pull through cache rule for. If you do not specify a registry, the default registry is assumed.
registryId
- The Amazon Web Services account ID associated with the registry to create the pull through cache rule for.
If you do not specify a registry, the default registry is assumed.public String toString()
toString
in class Object
Object.toString()
public CreatePullThroughCacheRuleRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()