public static interface ContainerService.Builder extends SdkPojo, CopyableBuilder<ContainerService.Builder,ContainerService>
| Modifier and Type | Method and Description |
|---|---|
ContainerService.Builder |
arn(String arn)
The Amazon Resource Name (ARN) of the container service.
|
ContainerService.Builder |
containerServiceName(String containerServiceName)
The name of the container service.
|
ContainerService.Builder |
createdAt(Instant createdAt)
The timestamp when the container service was created.
|
default ContainerService.Builder |
currentDeployment(Consumer<ContainerServiceDeployment.Builder> currentDeployment)
An object that describes the current container deployment of the container service.
|
ContainerService.Builder |
currentDeployment(ContainerServiceDeployment currentDeployment)
An object that describes the current container deployment of the container service.
|
ContainerService.Builder |
isDisabled(Boolean isDisabled)
A Boolean value indicating whether the container service is disabled.
|
default ContainerService.Builder |
location(Consumer<ResourceLocation.Builder> location)
An object that describes the location of the container service, such as the AWS Region and Availability Zone.
|
ContainerService.Builder |
location(ResourceLocation location)
An object that describes the location of the container service, such as the AWS Region and Availability Zone.
|
default ContainerService.Builder |
nextDeployment(Consumer<ContainerServiceDeployment.Builder> nextDeployment)
An object that describes the next deployment of the container service.
|
ContainerService.Builder |
nextDeployment(ContainerServiceDeployment nextDeployment)
An object that describes the next deployment of the container service.
|
ContainerService.Builder |
power(ContainerServicePowerName power)
The power specification of the container service.
|
ContainerService.Builder |
power(String power)
The power specification of the container service.
|
ContainerService.Builder |
powerId(String powerId)
The ID of the power of the container service.
|
ContainerService.Builder |
principalArn(String principalArn)
The principal ARN of the container service.
|
ContainerService.Builder |
privateDomainName(String privateDomainName)
The private domain name of the container service.
|
ContainerService.Builder |
publicDomainNames(Map<String,? extends Collection<String>> publicDomainNames)
The public domain name of the container service, such as
example.com and
www.example.com. |
ContainerService.Builder |
resourceType(ResourceType resourceType)
The Lightsail resource type of the container service (i.e.,
ContainerService). |
ContainerService.Builder |
resourceType(String resourceType)
The Lightsail resource type of the container service (i.e.,
ContainerService). |
ContainerService.Builder |
scale(Integer scale)
The scale specification of the container service.
|
ContainerService.Builder |
state(ContainerServiceState state)
The current state of the container service.
|
ContainerService.Builder |
state(String state)
The current state of the container service.
|
ContainerService.Builder |
tags(Collection<Tag> tags)
The tag keys and optional values for the resource.
|
ContainerService.Builder |
tags(Consumer<Tag.Builder>... tags)
The tag keys and optional values for the resource.
|
ContainerService.Builder |
tags(Tag... tags)
The tag keys and optional values for the resource.
|
ContainerService.Builder |
url(String url)
The publicly accessible URL of the container service.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildContainerService.Builder containerServiceName(String containerServiceName)
The name of the container service.
containerServiceName - The name of the container service.ContainerService.Builder arn(String arn)
The Amazon Resource Name (ARN) of the container service.
arn - The Amazon Resource Name (ARN) of the container service.ContainerService.Builder createdAt(Instant createdAt)
The timestamp when the container service was created.
createdAt - The timestamp when the container service was created.ContainerService.Builder location(ResourceLocation location)
An object that describes the location of the container service, such as the AWS Region and Availability Zone.
location - An object that describes the location of the container service, such as the AWS Region and
Availability Zone.default ContainerService.Builder location(Consumer<ResourceLocation.Builder> location)
An object that describes the location of the container service, such as the AWS Region and Availability Zone.
This is a convenience that creates an instance of theResourceLocation.Builder avoiding the need to
create one manually via ResourceLocation.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to location(ResourceLocation).location - a consumer that will call methods on ResourceLocation.Builderlocation(ResourceLocation)ContainerService.Builder resourceType(String resourceType)
The Lightsail resource type of the container service (i.e., ContainerService).
resourceType - The Lightsail resource type of the container service (i.e., ContainerService).ResourceType,
ResourceTypeContainerService.Builder resourceType(ResourceType resourceType)
The Lightsail resource type of the container service (i.e., ContainerService).
resourceType - The Lightsail resource type of the container service (i.e., ContainerService).ResourceType,
ResourceTypeContainerService.Builder tags(Collection<Tag> tags)
The tag keys and optional values for the resource. For more information about tags in Lightsail, see the Lightsail Dev Guide.
tags - The tag keys and optional values for the resource. For more information about tags in Lightsail, see
the Lightsail Dev
Guide.ContainerService.Builder tags(Tag... tags)
The tag keys and optional values for the resource. For more information about tags in Lightsail, see the Lightsail Dev Guide.
tags - The tag keys and optional values for the resource. For more information about tags in Lightsail, see
the Lightsail Dev
Guide.ContainerService.Builder tags(Consumer<Tag.Builder>... tags)
The tag keys and optional values for the resource. For more information about tags in Lightsail, see the Lightsail Dev Guide.
This is a convenience that creates an instance of theList.Builder avoiding the need to create
one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called immediately and its result
is passed to #tags(List) .tags - a consumer that will call methods on List.Builder #tags(List) ContainerService.Builder power(String power)
The power specification of the container service.
The power specifies the amount of RAM, the number of vCPUs, and the base price of the container service.
power - The power specification of the container service.
The power specifies the amount of RAM, the number of vCPUs, and the base price of the container service.
ContainerServicePowerName,
ContainerServicePowerNameContainerService.Builder power(ContainerServicePowerName power)
The power specification of the container service.
The power specifies the amount of RAM, the number of vCPUs, and the base price of the container service.
power - The power specification of the container service.
The power specifies the amount of RAM, the number of vCPUs, and the base price of the container service.
ContainerServicePowerName,
ContainerServicePowerNameContainerService.Builder powerId(String powerId)
The ID of the power of the container service.
powerId - The ID of the power of the container service.ContainerService.Builder state(String state)
The current state of the container service.
The state can be:
Pending - The container service is being created.
Ready - The container service is created but does not have a container deployment.
Disabled - The container service is disabled.
Updating - The container service capacity or other setting is being updated.
Deploying - The container service is launching a container deployment.
Running - The container service is created and it has a container deployment.
state - The current state of the container service.
The state can be:
Pending - The container service is being created.
Ready - The container service is created but does not have a container deployment.
Disabled - The container service is disabled.
Updating - The container service capacity or other setting is being updated.
Deploying - The container service is launching a container deployment.
Running - The container service is created and it has a container deployment.
ContainerServiceState,
ContainerServiceStateContainerService.Builder state(ContainerServiceState state)
The current state of the container service.
The state can be:
Pending - The container service is being created.
Ready - The container service is created but does not have a container deployment.
Disabled - The container service is disabled.
Updating - The container service capacity or other setting is being updated.
Deploying - The container service is launching a container deployment.
Running - The container service is created and it has a container deployment.
state - The current state of the container service.
The state can be:
Pending - The container service is being created.
Ready - The container service is created but does not have a container deployment.
Disabled - The container service is disabled.
Updating - The container service capacity or other setting is being updated.
Deploying - The container service is launching a container deployment.
Running - The container service is created and it has a container deployment.
ContainerServiceState,
ContainerServiceStateContainerService.Builder scale(Integer scale)
The scale specification of the container service.
The scale specifies the allocated compute nodes of the container service.
scale - The scale specification of the container service.
The scale specifies the allocated compute nodes of the container service.
ContainerService.Builder currentDeployment(ContainerServiceDeployment currentDeployment)
An object that describes the current container deployment of the container service.
currentDeployment - An object that describes the current container deployment of the container service.default ContainerService.Builder currentDeployment(Consumer<ContainerServiceDeployment.Builder> currentDeployment)
An object that describes the current container deployment of the container service.
This is a convenience that creates an instance of theContainerServiceDeployment.Builder avoiding the
need to create one manually via ContainerServiceDeployment.builder().
When the Consumer completes, SdkBuilder.build() is called immediately
and its result is passed to currentDeployment(ContainerServiceDeployment).currentDeployment - a consumer that will call methods on ContainerServiceDeployment.BuildercurrentDeployment(ContainerServiceDeployment)ContainerService.Builder nextDeployment(ContainerServiceDeployment nextDeployment)
An object that describes the next deployment of the container service.
This value is null when there is no deployment in a pending state.
nextDeployment - An object that describes the next deployment of the container service.
This value is null when there is no deployment in a pending state.
default ContainerService.Builder nextDeployment(Consumer<ContainerServiceDeployment.Builder> nextDeployment)
An object that describes the next deployment of the container service.
This value is null when there is no deployment in a pending state.
ContainerServiceDeployment.Builder avoiding the
need to create one manually via ContainerServiceDeployment.builder().
When the Consumer completes, SdkBuilder.build() is called immediately
and its result is passed to nextDeployment(ContainerServiceDeployment).nextDeployment - a consumer that will call methods on ContainerServiceDeployment.BuildernextDeployment(ContainerServiceDeployment)ContainerService.Builder isDisabled(Boolean isDisabled)
A Boolean value indicating whether the container service is disabled.
isDisabled - A Boolean value indicating whether the container service is disabled.ContainerService.Builder principalArn(String principalArn)
The principal ARN of the container service.
The principal ARN can be used to create a trust relationship between your standard AWS account and your Lightsail container service. This allows you to give your service permission to access resources in your standard AWS account.
principalArn - The principal ARN of the container service.
The principal ARN can be used to create a trust relationship between your standard AWS account and your Lightsail container service. This allows you to give your service permission to access resources in your standard AWS account.
ContainerService.Builder privateDomainName(String privateDomainName)
The private domain name of the container service.
The private domain name is accessible only by other resources within the default virtual private cloud (VPC) of your Lightsail account.
privateDomainName - The private domain name of the container service.
The private domain name is accessible only by other resources within the default virtual private cloud (VPC) of your Lightsail account.
ContainerService.Builder publicDomainNames(Map<String,? extends Collection<String>> publicDomainNames)
The public domain name of the container service, such as example.com and
www.example.com.
You can specify up to four public domain names for a container service. The domain names that you specify are used when you create a deployment with a container configured as the public endpoint of your container service.
If you don't specify public domain names, then you can use the default domain of the container service.
You must create and validate an SSL/TLS certificate before you can use public domain names with your
container service. Use the CreateCertificate action to create a certificate for the public
domain names you want to use with your container service.
See CreateContainerService or UpdateContainerService for information about how to
specify public domain names for your Lightsail container service.
publicDomainNames - The public domain name of the container service, such as example.com and
www.example.com.
You can specify up to four public domain names for a container service. The domain names that you specify are used when you create a deployment with a container configured as the public endpoint of your container service.
If you don't specify public domain names, then you can use the default domain of the container service.
You must create and validate an SSL/TLS certificate before you can use public domain names with your
container service. Use the CreateCertificate action to create a certificate for the
public domain names you want to use with your container service.
See CreateContainerService or UpdateContainerService for information about
how to specify public domain names for your Lightsail container service.
ContainerService.Builder url(String url)
The publicly accessible URL of the container service.
If no public endpoint is specified in the currentDeployment, this URL returns a 404 response.
url - The publicly accessible URL of the container service.
If no public endpoint is specified in the currentDeployment, this URL returns a 404
response.
Copyright © 2021. All rights reserved.