Class EnvironmentProfileReference.Builder
java.lang.Object
software.amazon.awscdk.services.datazone.EnvironmentProfileReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<EnvironmentProfileReference>
- Enclosing interface:
EnvironmentProfileReference
@Stability(Stable)
public static final class EnvironmentProfileReference.Builder
extends Object
implements software.amazon.jsii.Builder<EnvironmentProfileReference>
A builder for
EnvironmentProfileReference
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofEnvironmentProfileReference.getDomainId()
environmentProfileId
(String environmentProfileId) Sets the value ofEnvironmentProfileReference.getEnvironmentProfileId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
domainId
Sets the value ofEnvironmentProfileReference.getDomainId()
- Parameters:
domainId
- The DomainId of the EnvironmentProfile resource. This parameter is required.- Returns:
this
-
environmentProfileId
@Stability(Stable) public EnvironmentProfileReference.Builder environmentProfileId(String environmentProfileId) Sets the value ofEnvironmentProfileReference.getEnvironmentProfileId()
- Parameters:
environmentProfileId
- The Id of the EnvironmentProfile resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<EnvironmentProfileReference>
- Returns:
- a new instance of
EnvironmentProfileReference
- Throws:
NullPointerException
- if any required attribute was not provided
-