@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateImageVersionRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateImageVersionRequest() |
Modifier and Type | Method and Description |
---|---|
CreateImageVersionRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getBaseImage()
The registry path of the container image to use as the starting point for this version.
|
String |
getClientToken()
A unique ID.
|
String |
getImageName()
The
ImageName of the Image to create a version of. |
int |
hashCode() |
void |
setBaseImage(String baseImage)
The registry path of the container image to use as the starting point for this version.
|
void |
setClientToken(String clientToken)
A unique ID.
|
void |
setImageName(String imageName)
The
ImageName of the Image to create a version of. |
String |
toString()
Returns a string representation of this object.
|
CreateImageVersionRequest |
withBaseImage(String baseImage)
The registry path of the container image to use as the starting point for this version.
|
CreateImageVersionRequest |
withClientToken(String clientToken)
A unique ID.
|
CreateImageVersionRequest |
withImageName(String imageName)
The
ImageName of the Image to create a version of. |
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 setBaseImage(String baseImage)
The registry path of the container image to use as the starting point for this version. The path is an Amazon Elastic Container Registry (ECR) URI in the following format:
<acct-id>.dkr.ecr.<region>.amazonaws.com/<repo-name[:tag] or [@digest]>
baseImage
- The registry path of the container image to use as the starting point for this version. The path is an
Amazon Elastic Container Registry (ECR) URI in the following format:
<acct-id>.dkr.ecr.<region>.amazonaws.com/<repo-name[:tag] or [@digest]>
public String getBaseImage()
The registry path of the container image to use as the starting point for this version. The path is an Amazon Elastic Container Registry (ECR) URI in the following format:
<acct-id>.dkr.ecr.<region>.amazonaws.com/<repo-name[:tag] or [@digest]>
<acct-id>.dkr.ecr.<region>.amazonaws.com/<repo-name[:tag] or [@digest]>
public CreateImageVersionRequest withBaseImage(String baseImage)
The registry path of the container image to use as the starting point for this version. The path is an Amazon Elastic Container Registry (ECR) URI in the following format:
<acct-id>.dkr.ecr.<region>.amazonaws.com/<repo-name[:tag] or [@digest]>
baseImage
- The registry path of the container image to use as the starting point for this version. The path is an
Amazon Elastic Container Registry (ECR) URI in the following format:
<acct-id>.dkr.ecr.<region>.amazonaws.com/<repo-name[:tag] or [@digest]>
public void setClientToken(String clientToken)
A unique ID. If not specified, the Amazon Web Services CLI and Amazon Web Services SDKs, such as the SDK for Python (Boto3), add a unique value to the call.
clientToken
- A unique ID. If not specified, the Amazon Web Services CLI and Amazon Web Services SDKs, such as the SDK
for Python (Boto3), add a unique value to the call.public String getClientToken()
A unique ID. If not specified, the Amazon Web Services CLI and Amazon Web Services SDKs, such as the SDK for Python (Boto3), add a unique value to the call.
public CreateImageVersionRequest withClientToken(String clientToken)
A unique ID. If not specified, the Amazon Web Services CLI and Amazon Web Services SDKs, such as the SDK for Python (Boto3), add a unique value to the call.
clientToken
- A unique ID. If not specified, the Amazon Web Services CLI and Amazon Web Services SDKs, such as the SDK
for Python (Boto3), add a unique value to the call.public void setImageName(String imageName)
The ImageName
of the Image
to create a version of.
imageName
- The ImageName
of the Image
to create a version of.public String getImageName()
The ImageName
of the Image
to create a version of.
ImageName
of the Image
to create a version of.public CreateImageVersionRequest withImageName(String imageName)
The ImageName
of the Image
to create a version of.
imageName
- The ImageName
of the Image
to create a version of.public String toString()
toString
in class Object
Object.toString()
public CreateImageVersionRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()