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