@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DeleteContainerImageRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
DeleteContainerImageRequest() |
Modifier and Type | Method and Description |
---|---|
DeleteContainerImageRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getImage()
The name of the container image to delete from the container service.
|
String |
getServiceName()
The name of the container service for which to delete a registered container image.
|
int |
hashCode() |
void |
setImage(String image)
The name of the container image to delete from the container service.
|
void |
setServiceName(String serviceName)
The name of the container service for which to delete a registered container image.
|
String |
toString()
Returns a string representation of this object.
|
DeleteContainerImageRequest |
withImage(String image)
The name of the container image to delete from the container service.
|
DeleteContainerImageRequest |
withServiceName(String serviceName)
The name of the container service for which to delete a registered container image.
|
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 setServiceName(String serviceName)
The name of the container service for which to delete a registered container image.
serviceName
- The name of the container service for which to delete a registered container image.public String getServiceName()
The name of the container service for which to delete a registered container image.
public DeleteContainerImageRequest withServiceName(String serviceName)
The name of the container service for which to delete a registered container image.
serviceName
- The name of the container service for which to delete a registered container image.public void setImage(String image)
The name of the container image to delete from the container service.
Use the GetContainerImages
action to get the name of the container images that are registered to a
container service.
Container images sourced from your Lightsail container service, that are registered and stored on your service,
start with a colon (:
). For example, :container-service-1.mystaticwebsite.1
. Container
images sourced from a public registry like Docker Hub don't start with a colon. For example,
nginx:latest
or nginx
.
image
- The name of the container image to delete from the container service.
Use the GetContainerImages
action to get the name of the container images that are registered
to a container service.
Container images sourced from your Lightsail container service, that are registered and stored on your
service, start with a colon (:
). For example,
:container-service-1.mystaticwebsite.1
. Container images sourced from a public registry like
Docker Hub don't start with a colon. For example, nginx:latest
or nginx
.
public String getImage()
The name of the container image to delete from the container service.
Use the GetContainerImages
action to get the name of the container images that are registered to a
container service.
Container images sourced from your Lightsail container service, that are registered and stored on your service,
start with a colon (:
). For example, :container-service-1.mystaticwebsite.1
. Container
images sourced from a public registry like Docker Hub don't start with a colon. For example,
nginx:latest
or nginx
.
Use the GetContainerImages
action to get the name of the container images that are
registered to a container service.
Container images sourced from your Lightsail container service, that are registered and stored on your
service, start with a colon (:
). For example,
:container-service-1.mystaticwebsite.1
. Container images sourced from a public registry like
Docker Hub don't start with a colon. For example, nginx:latest
or nginx
.
public DeleteContainerImageRequest withImage(String image)
The name of the container image to delete from the container service.
Use the GetContainerImages
action to get the name of the container images that are registered to a
container service.
Container images sourced from your Lightsail container service, that are registered and stored on your service,
start with a colon (:
). For example, :container-service-1.mystaticwebsite.1
. Container
images sourced from a public registry like Docker Hub don't start with a colon. For example,
nginx:latest
or nginx
.
image
- The name of the container image to delete from the container service.
Use the GetContainerImages
action to get the name of the container images that are registered
to a container service.
Container images sourced from your Lightsail container service, that are registered and stored on your
service, start with a colon (:
). For example,
:container-service-1.mystaticwebsite.1
. Container images sourced from a public registry like
Docker Hub don't start with a colon. For example, nginx:latest
or nginx
.
public String toString()
toString
in class Object
Object.toString()
public DeleteContainerImageRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()