Package software.amazon.awscdk.cxapi
Class MissingContext.Builder
java.lang.Object
software.amazon.awscdk.cxapi.MissingContext.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<MissingContext>
- Enclosing interface:
MissingContext
@Stability(Deprecated)
@Deprecated
public static final class MissingContext.Builder
extends Object
implements software.amazon.jsii.Builder<MissingContext>
Deprecated.
A builder for
MissingContext
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
Builder
public Builder()Deprecated.
-
-
Method Details
-
key
Deprecated.Sets the value ofMissingContext.getKey()
- Parameters:
key
- The missing context key. This parameter is required.- Returns:
this
-
props
@Stability(Deprecated) @Deprecated public MissingContext.Builder props(Map<String, ? extends Object> props) Deprecated.Sets the value ofMissingContext.getProps()
- Parameters:
props
- A set of provider-specific options. This parameter is required. (This is the old untyped definition, which is necessary for backwards compatibility. See cxschema for a type definition.)- Returns:
this
-
provider
Deprecated.Sets the value ofMissingContext.getProvider()
- Parameters:
provider
- The provider from which we expect this context key to be obtained. This parameter is required. (This is the old untyped definition, which is necessary for backwards compatibility. See cxschema for a type definition.)- Returns:
this
-
build
Deprecated.Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<MissingContext>
- Returns:
- a new instance of
MissingContext
- Throws:
NullPointerException
- if any required attribute was not provided
-