@Stability(value=Experimental) public static final class AssociateCloudMapServiceOptions.Builder extends Object implements software.amazon.jsii.Builder<AssociateCloudMapServiceOptions>
AssociateCloudMapServiceOptions| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
AssociateCloudMapServiceOptions |
build()
Builds the configured instance.
|
AssociateCloudMapServiceOptions.Builder |
container(ContainerDefinition container)
Sets the value of
AssociateCloudMapServiceOptions.getContainer() |
AssociateCloudMapServiceOptions.Builder |
containerPort(Number containerPort)
Sets the value of
AssociateCloudMapServiceOptions.getContainerPort() |
AssociateCloudMapServiceOptions.Builder |
service(IService service)
Sets the value of
AssociateCloudMapServiceOptions.getService() |
@Stability(value=Experimental) public AssociateCloudMapServiceOptions.Builder service(IService service)
AssociateCloudMapServiceOptions.getService()service - The cloudmap service to register with. This parameter is required.this@Stability(value=Experimental) public AssociateCloudMapServiceOptions.Builder container(ContainerDefinition container)
AssociateCloudMapServiceOptions.getContainer()container - The container to point to for a SRV record.this@Stability(value=Experimental) public AssociateCloudMapServiceOptions.Builder containerPort(Number containerPort)
AssociateCloudMapServiceOptions.getContainerPort()containerPort - The port to point to for a SRV record.this@Stability(value=Experimental) public AssociateCloudMapServiceOptions build()
build in interface software.amazon.jsii.Builder<AssociateCloudMapServiceOptions>AssociateCloudMapServiceOptionsNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.