Class CfnAgentSpaceProps.Builder
java.lang.Object
software.amazon.awscdk.services.devopsagent.CfnAgentSpaceProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAgentSpaceProps>
- Enclosing interface:
CfnAgentSpaceProps
@Stability(Stable)
public static final class CfnAgentSpaceProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAgentSpaceProps>
A builder for
CfnAgentSpaceProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.description(String description) Sets the value ofCfnAgentSpaceProps.getDescription()Sets the value ofCfnAgentSpaceProps.getName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
name
Sets the value ofCfnAgentSpaceProps.getName()- Parameters:
name- The name of the AgentSpace. This parameter is required.- Returns:
this
-
description
Sets the value ofCfnAgentSpaceProps.getDescription()- Parameters:
description- The description of the AgentSpace.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnAgentSpaceProps>- Returns:
- a new instance of
CfnAgentSpaceProps - Throws:
NullPointerException- if any required attribute was not provided
-