Class CfnServiceProps.Builder
java.lang.Object
software.amazon.awscdk.services.refactorspaces.CfnServiceProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnServiceProps>
- Enclosing interface:
CfnServiceProps
@Stability(Stable)
public static final class CfnServiceProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnServiceProps>
A builder for
CfnServiceProps
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionapplicationIdentifier
(String applicationIdentifier) Sets the value ofCfnServiceProps.getApplicationIdentifier()
build()
Builds the configured instance.description
(String description) Sets the value ofCfnServiceProps.getDescription()
endpointType
(String endpointType) Sets the value ofCfnServiceProps.getEndpointType()
environmentIdentifier
(String environmentIdentifier) Sets the value ofCfnServiceProps.getEnvironmentIdentifier()
lambdaEndpoint
(IResolvable lambdaEndpoint) Sets the value ofCfnServiceProps.getLambdaEndpoint()
lambdaEndpoint
(CfnService.LambdaEndpointInputProperty lambdaEndpoint) Sets the value ofCfnServiceProps.getLambdaEndpoint()
Sets the value ofCfnServiceProps.getName()
Sets the value ofCfnServiceProps.getTags()
urlEndpoint
(IResolvable urlEndpoint) Sets the value ofCfnServiceProps.getUrlEndpoint()
urlEndpoint
(CfnService.UrlEndpointInputProperty urlEndpoint) Sets the value ofCfnServiceProps.getUrlEndpoint()
Sets the value ofCfnServiceProps.getVpcId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
applicationIdentifier
@Stability(Stable) public CfnServiceProps.Builder applicationIdentifier(String applicationIdentifier) Sets the value ofCfnServiceProps.getApplicationIdentifier()
- Parameters:
applicationIdentifier
- The unique identifier of the application. This parameter is required.- Returns:
this
-
endpointType
Sets the value ofCfnServiceProps.getEndpointType()
- Parameters:
endpointType
- The endpoint type of the service. This parameter is required.- Returns:
this
-
environmentIdentifier
@Stability(Stable) public CfnServiceProps.Builder environmentIdentifier(String environmentIdentifier) Sets the value ofCfnServiceProps.getEnvironmentIdentifier()
- Parameters:
environmentIdentifier
- The unique identifier of the environment. This parameter is required.- Returns:
this
-
name
Sets the value ofCfnServiceProps.getName()
- Parameters:
name
- The name of the service. This parameter is required.- Returns:
this
-
description
Sets the value ofCfnServiceProps.getDescription()
- Parameters:
description
- A description of the service.- Returns:
this
-
lambdaEndpoint
Sets the value ofCfnServiceProps.getLambdaEndpoint()
- Parameters:
lambdaEndpoint
- A summary of the configuration for the AWS Lambda endpoint type.- Returns:
this
-
lambdaEndpoint
@Stability(Stable) public CfnServiceProps.Builder lambdaEndpoint(CfnService.LambdaEndpointInputProperty lambdaEndpoint) Sets the value ofCfnServiceProps.getLambdaEndpoint()
- Parameters:
lambdaEndpoint
- A summary of the configuration for the AWS Lambda endpoint type.- Returns:
this
-
tags
Sets the value ofCfnServiceProps.getTags()
- Parameters:
tags
- The tags assigned to the service.- Returns:
this
-
urlEndpoint
Sets the value ofCfnServiceProps.getUrlEndpoint()
- Parameters:
urlEndpoint
- The summary of the configuration for the URL endpoint type.- Returns:
this
-
urlEndpoint
@Stability(Stable) public CfnServiceProps.Builder urlEndpoint(CfnService.UrlEndpointInputProperty urlEndpoint) Sets the value ofCfnServiceProps.getUrlEndpoint()
- Parameters:
urlEndpoint
- The summary of the configuration for the URL endpoint type.- Returns:
this
-
vpcId
Sets the value ofCfnServiceProps.getVpcId()
- Parameters:
vpcId
- The ID of the virtual private cloud (VPC).- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnServiceProps>
- Returns:
- a new instance of
CfnServiceProps
- Throws:
NullPointerException
- if any required attribute was not provided
-