Class QueueEnvironmentReference.Builder
java.lang.Object
software.amazon.awscdk.services.deadline.QueueEnvironmentReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<QueueEnvironmentReference>
- Enclosing interface:
QueueEnvironmentReference
@Stability(Stable)
public static final class QueueEnvironmentReference.Builder
extends Object
implements software.amazon.jsii.Builder<QueueEnvironmentReference>
A builder for
QueueEnvironmentReference
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofQueueEnvironmentReference.getFarmId()
queueEnvironmentId
(String queueEnvironmentId) Sets the value ofQueueEnvironmentReference.getQueueEnvironmentId()
Sets the value ofQueueEnvironmentReference.getQueueId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
farmId
Sets the value ofQueueEnvironmentReference.getFarmId()
- Parameters:
farmId
- The FarmId of the QueueEnvironment resource. This parameter is required.- Returns:
this
-
queueEnvironmentId
@Stability(Stable) public QueueEnvironmentReference.Builder queueEnvironmentId(String queueEnvironmentId) Sets the value ofQueueEnvironmentReference.getQueueEnvironmentId()
- Parameters:
queueEnvironmentId
- The QueueEnvironmentId of the QueueEnvironment resource. This parameter is required.- Returns:
this
-
queueId
Sets the value ofQueueEnvironmentReference.getQueueId()
- Parameters:
queueId
- The QueueId of the QueueEnvironment resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<QueueEnvironmentReference>
- Returns:
- a new instance of
QueueEnvironmentReference
- Throws:
NullPointerException
- if any required attribute was not provided
-