Class DeleteContainerImageRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.lightsail.model.LightsailRequest
-
- software.amazon.awssdk.services.lightsail.model.DeleteContainerImageRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<DeleteContainerImageRequest.Builder,DeleteContainerImageRequest>
@Generated("software.amazon.awssdk:codegen") public final class DeleteContainerImageRequest extends LightsailRequest implements ToCopyableBuilder<DeleteContainerImageRequest.Builder,DeleteContainerImageRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceDeleteContainerImageRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DeleteContainerImageRequest.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringimage()The name of the container image to delete from the container service.List<SdkField<?>>sdkFields()static Class<? extends DeleteContainerImageRequest.Builder>serializableBuilderClass()StringserviceName()The name of the container service for which to delete a registered container image.DeleteContainerImageRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
serviceName
public final String serviceName()
The name of the container service for which to delete a registered container image.
- Returns:
- The name of the container service for which to delete a registered container image.
-
image
public final String image()
The name of the container image to delete from the container service.
Use the
GetContainerImagesaction 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:latestornginx.- Returns:
- The name of the container image to delete from the container service.
Use the
GetContainerImagesaction 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:latestornginx.
-
toBuilder
public DeleteContainerImageRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<DeleteContainerImageRequest.Builder,DeleteContainerImageRequest>- Specified by:
toBuilderin classLightsailRequest
-
builder
public static DeleteContainerImageRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends DeleteContainerImageRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
-