@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 |
getCredentialArn()
The Amazon Resource Name (ARN) of the Amazon Web Services Secrets Manager secret that identifies the credentials
to authenticate to the upstream registry.
|
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 |
getUpstreamRegistry()
The name of the upstream registry.
|
String |
getUpstreamRegistryUrl()
The registry URL of the upstream public registry to use as the source for the pull through cache rule.
|
int |
hashCode() |
void |
setCredentialArn(String credentialArn)
The Amazon Resource Name (ARN) of the Amazon Web Services Secrets Manager secret that identifies the credentials
to authenticate to the upstream registry.
|
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 |
setUpstreamRegistry(String upstreamRegistry)
The name of the upstream registry.
|
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 |
withCredentialArn(String credentialArn)
The Amazon Resource Name (ARN) of the Amazon Web Services Secrets Manager secret that identifies the credentials
to authenticate to the upstream registry.
|
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 |
withUpstreamRegistry(String upstreamRegistry)
The name of the upstream registry.
|
CreatePullThroughCacheRuleRequest |
withUpstreamRegistry(UpstreamRegistry upstreamRegistry)
The name of the upstream registry.
|
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. The following is the syntax to use for each supported upstream registry.
Amazon ECR Public (ecr-public
) - public.ecr.aws
Docker Hub (docker-hub
) - registry-1.docker.io
Quay (quay
) - quay.io
Kubernetes (k8s
) - registry.k8s.io
GitHub Container Registry (github-container-registry
) - ghcr.io
Microsoft Azure Container Registry (azure-container-registry
) -
<custom>.azurecr.io
upstreamRegistryUrl
- The registry URL of the upstream public registry to use as the source for the pull through cache rule. The
following is the syntax to use for each supported upstream registry.
Amazon ECR Public (ecr-public
) - public.ecr.aws
Docker Hub (docker-hub
) - registry-1.docker.io
Quay (quay
) - quay.io
Kubernetes (k8s
) - registry.k8s.io
GitHub Container Registry (github-container-registry
) - ghcr.io
Microsoft Azure Container Registry (azure-container-registry
) -
<custom>.azurecr.io
public String getUpstreamRegistryUrl()
The registry URL of the upstream public registry to use as the source for the pull through cache rule. The following is the syntax to use for each supported upstream registry.
Amazon ECR Public (ecr-public
) - public.ecr.aws
Docker Hub (docker-hub
) - registry-1.docker.io
Quay (quay
) - quay.io
Kubernetes (k8s
) - registry.k8s.io
GitHub Container Registry (github-container-registry
) - ghcr.io
Microsoft Azure Container Registry (azure-container-registry
) -
<custom>.azurecr.io
Amazon ECR Public (ecr-public
) - public.ecr.aws
Docker Hub (docker-hub
) - registry-1.docker.io
Quay (quay
) - quay.io
Kubernetes (k8s
) - registry.k8s.io
GitHub Container Registry (github-container-registry
) - ghcr.io
Microsoft Azure Container Registry (azure-container-registry
) -
<custom>.azurecr.io
public CreatePullThroughCacheRuleRequest withUpstreamRegistryUrl(String upstreamRegistryUrl)
The registry URL of the upstream public registry to use as the source for the pull through cache rule. The following is the syntax to use for each supported upstream registry.
Amazon ECR Public (ecr-public
) - public.ecr.aws
Docker Hub (docker-hub
) - registry-1.docker.io
Quay (quay
) - quay.io
Kubernetes (k8s
) - registry.k8s.io
GitHub Container Registry (github-container-registry
) - ghcr.io
Microsoft Azure Container Registry (azure-container-registry
) -
<custom>.azurecr.io
upstreamRegistryUrl
- The registry URL of the upstream public registry to use as the source for the pull through cache rule. The
following is the syntax to use for each supported upstream registry.
Amazon ECR Public (ecr-public
) - public.ecr.aws
Docker Hub (docker-hub
) - registry-1.docker.io
Quay (quay
) - quay.io
Kubernetes (k8s
) - registry.k8s.io
GitHub Container Registry (github-container-registry
) - ghcr.io
Microsoft Azure Container Registry (azure-container-registry
) -
<custom>.azurecr.io
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 void setUpstreamRegistry(String upstreamRegistry)
The name of the upstream registry.
upstreamRegistry
- The name of the upstream registry.UpstreamRegistry
public String getUpstreamRegistry()
The name of the upstream registry.
UpstreamRegistry
public CreatePullThroughCacheRuleRequest withUpstreamRegistry(String upstreamRegistry)
The name of the upstream registry.
upstreamRegistry
- The name of the upstream registry.UpstreamRegistry
public CreatePullThroughCacheRuleRequest withUpstreamRegistry(UpstreamRegistry upstreamRegistry)
The name of the upstream registry.
upstreamRegistry
- The name of the upstream registry.UpstreamRegistry
public void setCredentialArn(String credentialArn)
The Amazon Resource Name (ARN) of the Amazon Web Services Secrets Manager secret that identifies the credentials to authenticate to the upstream registry.
credentialArn
- The Amazon Resource Name (ARN) of the Amazon Web Services Secrets Manager secret that identifies the
credentials to authenticate to the upstream registry.public String getCredentialArn()
The Amazon Resource Name (ARN) of the Amazon Web Services Secrets Manager secret that identifies the credentials to authenticate to the upstream registry.
public CreatePullThroughCacheRuleRequest withCredentialArn(String credentialArn)
The Amazon Resource Name (ARN) of the Amazon Web Services Secrets Manager secret that identifies the credentials to authenticate to the upstream registry.
credentialArn
- The Amazon Resource Name (ARN) of the Amazon Web Services Secrets Manager secret that identifies the
credentials to authenticate to the upstream registry.public String toString()
toString
in class Object
Object.toString()
public CreatePullThroughCacheRuleRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()