Interface DeleteContainerImageRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<DeleteContainerImageRequest.Builder,
,DeleteContainerImageRequest> LightsailRequest.Builder
,SdkBuilder<DeleteContainerImageRequest.Builder,
,DeleteContainerImageRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
DeleteContainerImageRequest
-
Method Summary
Modifier and TypeMethodDescriptionThe name of the container image to delete from the container service.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.serviceName
(String serviceName) The name of the container service for which to delete a registered container image.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.lightsail.model.LightsailRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
serviceName
The name of the container service for which to delete a registered container image.
- Parameters:
serviceName
- The name of the container service for which to delete a registered container image.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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
ornginx
.- Parameters:
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
ornginx
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
DeleteContainerImageRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
DeleteContainerImageRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-