Class ServiceEnvironmentReference.Builder
java.lang.Object
software.amazon.awscdk.interfaces.batch.ServiceEnvironmentReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<ServiceEnvironmentReference>
- Enclosing interface:
ServiceEnvironmentReference
@Stability(Stable)
public static final class ServiceEnvironmentReference.Builder
extends Object
implements software.amazon.jsii.Builder<ServiceEnvironmentReference>
A builder for
ServiceEnvironmentReference-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.serviceEnvironmentArn(String serviceEnvironmentArn) Sets the value ofServiceEnvironmentReference.getServiceEnvironmentArn()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
serviceEnvironmentArn
@Stability(Stable) public ServiceEnvironmentReference.Builder serviceEnvironmentArn(String serviceEnvironmentArn) Sets the value ofServiceEnvironmentReference.getServiceEnvironmentArn()- Parameters:
serviceEnvironmentArn- The ServiceEnvironmentArn of the ServiceEnvironment resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ServiceEnvironmentReference>- Returns:
- a new instance of
ServiceEnvironmentReference - Throws:
NullPointerException- if any required attribute was not provided
-