Class RegisterContainerImageRequest
- 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.RegisterContainerImageRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<RegisterContainerImageRequest.Builder,RegisterContainerImageRequest>
@Generated("software.amazon.awssdk:codegen") public final class RegisterContainerImageRequest extends LightsailRequest implements ToCopyableBuilder<RegisterContainerImageRequest.Builder,RegisterContainerImageRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceRegisterContainerImageRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RegisterContainerImageRequest.Builderbuilder()Stringdigest()The digest of the container image to be registered.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringlabel()The label for the container image when it's registered to the container service.List<SdkField<?>>sdkFields()static Class<? extends RegisterContainerImageRequest.Builder>serializableBuilderClass()StringserviceName()The name of the container service for which to register a container image.RegisterContainerImageRequest.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 register a container image.
- Returns:
- The name of the container service for which to register a container image.
-
label
public final String label()
The label for the container image when it's registered to the container service.
Use a descriptive label that you can use to track the different versions of your registered container images.
Use the
GetContainerImagesaction to return the container images registered to a Lightsail container service. The label is the<imagelabel>portion of the following image name example:-
:container-service-1.<imagelabel>.1
If the name of your container service is
mycontainerservice, and the label that you specify ismystaticwebsite, then the name of the registered container image will be:mycontainerservice.mystaticwebsite.1.The number at the end of these image name examples represents the version of the registered container image. If you push and register another container image to the same Lightsail container service, with the same label, then the version number for the new registered container image will be
2. If you push and register another container image, the version number will be3, and so on.- Returns:
- The label for the container image when it's registered to the container service.
Use a descriptive label that you can use to track the different versions of your registered container images.
Use the
GetContainerImagesaction to return the container images registered to a Lightsail container service. The label is the<imagelabel>portion of the following image name example:-
:container-service-1.<imagelabel>.1
If the name of your container service is
mycontainerservice, and the label that you specify ismystaticwebsite, then the name of the registered container image will be:mycontainerservice.mystaticwebsite.1.The number at the end of these image name examples represents the version of the registered container image. If you push and register another container image to the same Lightsail container service, with the same label, then the version number for the new registered container image will be
2. If you push and register another container image, the version number will be3, and so on. -
-
-
digest
public final String digest()
The digest of the container image to be registered.
- Returns:
- The digest of the container image to be registered.
-
toBuilder
public RegisterContainerImageRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<RegisterContainerImageRequest.Builder,RegisterContainerImageRequest>- Specified by:
toBuilderin classLightsailRequest
-
builder
public static RegisterContainerImageRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends RegisterContainerImageRequest.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
-
-