Class CfnJobDefinition.MetadataProperty.Builder
java.lang.Object
software.amazon.awscdk.services.batch.CfnJobDefinition.MetadataProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnJobDefinition.MetadataProperty>
- Enclosing interface:
CfnJobDefinition.MetadataProperty
@Stability(Stable)
public static final class CfnJobDefinition.MetadataProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnJobDefinition.MetadataProperty>
A builder for
CfnJobDefinition.MetadataProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnJobDefinition.MetadataProperty.getLabels()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
labels
Sets the value ofCfnJobDefinition.MetadataProperty.getLabels()
- Parameters:
labels
- Key-value pairs used to identify, sort, and organize cube resources. Can contain up to 63 uppercase letters, lowercase letters, numbers, hyphens (-), and underscores (_). Labels can be added or modified at any time. Each resource can have multiple labels, but each key must be unique for a given object.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnJobDefinition.MetadataProperty>
- Returns:
- a new instance of
CfnJobDefinition.MetadataProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-