Class EnvironmentReference.Builder
java.lang.Object
software.amazon.awscdk.services.refactorspaces.EnvironmentReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<EnvironmentReference>
- Enclosing interface:
EnvironmentReference
@Stability(Stable)
public static final class EnvironmentReference.Builder
extends Object
implements software.amazon.jsii.Builder<EnvironmentReference>
A builder for
EnvironmentReference
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.environmentArn
(String environmentArn) Sets the value ofEnvironmentReference.getEnvironmentArn()
environmentIdentifier
(String environmentIdentifier) Sets the value ofEnvironmentReference.getEnvironmentIdentifier()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
environmentArn
Sets the value ofEnvironmentReference.getEnvironmentArn()
- Parameters:
environmentArn
- The ARN of the Environment resource. This parameter is required.- Returns:
this
-
environmentIdentifier
@Stability(Stable) public EnvironmentReference.Builder environmentIdentifier(String environmentIdentifier) Sets the value ofEnvironmentReference.getEnvironmentIdentifier()
- Parameters:
environmentIdentifier
- The EnvironmentIdentifier of the Environment resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<EnvironmentReference>
- Returns:
- a new instance of
EnvironmentReference
- Throws:
NullPointerException
- if any required attribute was not provided
-