Class AgentReference.Builder
java.lang.Object
software.amazon.awscdk.services.datasync.AgentReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<AgentReference>
- Enclosing interface:
AgentReference
@Stability(Stable)
public static final class AgentReference.Builder
extends Object
implements software.amazon.jsii.Builder<AgentReference>
A builder for
AgentReference
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofAgentReference.getAgentArn()
build()
Builds the configured instance.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
agentArn
Sets the value ofAgentReference.getAgentArn()
- Parameters:
agentArn
- The AgentArn of the Agent resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<AgentReference>
- Returns:
- a new instance of
AgentReference
- Throws:
NullPointerException
- if any required attribute was not provided
-