Class AgentSpaceReference.Builder
java.lang.Object
software.amazon.awscdk.interfaces.devopsagent.AgentSpaceReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<AgentSpaceReference>
- Enclosing interface:
AgentSpaceReference
@Stability(Stable)
public static final class AgentSpaceReference.Builder
extends Object
implements software.amazon.jsii.Builder<AgentSpaceReference>
A builder for
AgentSpaceReference-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionagentSpaceArn(String agentSpaceArn) Sets the value ofAgentSpaceReference.getAgentSpaceArn()agentSpaceId(String agentSpaceId) Sets the value ofAgentSpaceReference.getAgentSpaceId()build()Builds the configured instance.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
agentSpaceArn
Sets the value ofAgentSpaceReference.getAgentSpaceArn()- Parameters:
agentSpaceArn- The ARN of the AgentSpace resource. This parameter is required.- Returns:
this
-
agentSpaceId
Sets the value ofAgentSpaceReference.getAgentSpaceId()- Parameters:
agentSpaceId- The AgentSpaceId of the AgentSpace resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<AgentSpaceReference>- Returns:
- a new instance of
AgentSpaceReference - Throws:
NullPointerException- if any required attribute was not provided
-