Class CfnContextPropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.sagemaker.CfnContextPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnContextPropsMixin>
- Enclosing class:
CfnContextPropsMixin
@Stability(Stable)
public static final class CfnContextPropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnContextPropsMixin>
A fluent builder for
CfnContextPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionbuild()contextName(String contextName) The name of the context.contextType(String contextType) The context type.static CfnContextPropsMixin.Buildercreate()static CfnContextPropsMixin.Buildercreate(CfnPropertyMixinOptions options) description(String description) The description of the context.properties(Map<String, String> properties) A list of properties to add to the context.properties(IResolvable properties) A list of properties to add to the context.The source type, ID, and URI.source(IResolvable source) The source type, ID, and URI.tags(List<? extends CfnContextPropsMixin.TagsItemsProperty> tags) A list of tags to apply to the context.
-
Method Details
-
create
@Stability(Stable) public static CfnContextPropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnContextPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnContextPropsMixin.Builder.
-
contextName
The name of the context.Must be unique to your account in an AWS Region.
- Parameters:
contextName- The name of the context. This parameter is required.- Returns:
this- See Also:
-
contextType
The context type.- Parameters:
contextType- The context type. This parameter is required.- Returns:
this- See Also:
-
description
The description of the context.- Parameters:
description- The description of the context. This parameter is required.- Returns:
this- See Also:
-
properties
A list of properties to add to the context.- Parameters:
properties- A list of properties to add to the context. This parameter is required.- Returns:
this- See Also:
-
properties
A list of properties to add to the context.- Parameters:
properties- A list of properties to add to the context. This parameter is required.- Returns:
this- See Also:
-
source
The source type, ID, and URI.- Parameters:
source- The source type, ID, and URI. This parameter is required.- Returns:
this- See Also:
-
source
@Stability(Stable) public CfnContextPropsMixin.Builder source(CfnContextPropsMixin.SourceProperty source) The source type, ID, and URI.- Parameters:
source- The source type, ID, and URI. This parameter is required.- Returns:
this- See Also:
-
tags
@Stability(Stable) public CfnContextPropsMixin.Builder tags(List<? extends CfnContextPropsMixin.TagsItemsProperty> tags) A list of tags to apply to the context.- Parameters:
tags- A list of tags to apply to the context. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnContextPropsMixin>- Returns:
- a newly built instance of
CfnContextPropsMixin.
-