@Generated(value="software.amazon.awssdk:codegen") public final class RegisterContainerImageRequest extends LightsailRequest implements ToCopyableBuilder<RegisterContainerImageRequest.Builder,RegisterContainerImageRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
RegisterContainerImageRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static RegisterContainerImageRequest.Builder |
builder() |
String |
digest()
The digest of the container image to be registered.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
label()
The label for the container image when it's registered to the container service.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends RegisterContainerImageRequest.Builder> |
serializableBuilderClass() |
String |
serviceName()
The name of the container service for which to register a container image.
|
RegisterContainerImageRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String serviceName()
The name of the container service for which to register a container image.
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 GetContainerImages action 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 is
mystaticwebsite, 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 be 3, and so on.
Use a descriptive label that you can use to track the different versions of your registered container images.
Use the GetContainerImages action 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
is mystaticwebsite, 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 be 3, and so on.
public final String digest()
The digest of the container image to be registered.
public RegisterContainerImageRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<RegisterContainerImageRequest.Builder,RegisterContainerImageRequest>toBuilder in class LightsailRequestpublic static RegisterContainerImageRequest.Builder builder()
public static Class<? extends RegisterContainerImageRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2021. All rights reserved.