All Downloads are FREE. Search and download functionalities are using the official Maven repository.

software.amazon.awscdk.services.appsync.AttributeValuesStep Maven / Gradle / Ivy

There is a newer version: 1.204.0
Show newest version
package software.amazon.awscdk.services.appsync;

/**
 * (experimental) Utility class to allow assigning a value to an attribute.
 * 

* Example: *

*

 * // The code below shows an example of how to instantiate this type.
 * // The values are placeholders you should change.
 * import software.amazon.awscdk.services.appsync.*;
 * Assign assign;
 * AttributeValuesStep attributeValuesStep = new AttributeValuesStep("attr", "container", List.of(assign));
 * 
*/ @javax.annotation.Generated(value = "jsii-pacmak/1.72.0 (build 4b8828b)", date = "2023-01-03T16:22:41.707Z") @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) @software.amazon.jsii.Jsii(module = software.amazon.awscdk.services.appsync.$Module.class, fqn = "@aws-cdk/aws-appsync.AttributeValuesStep") public class AttributeValuesStep extends software.amazon.jsii.JsiiObject { protected AttributeValuesStep(final software.amazon.jsii.JsiiObjectRef objRef) { super(objRef); } protected AttributeValuesStep(final software.amazon.jsii.JsiiObject.InitializationMode initializationMode) { super(initializationMode); } /** * @param attr This parameter is required. * @param container This parameter is required. * @param assignments This parameter is required. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public AttributeValuesStep(final @org.jetbrains.annotations.NotNull java.lang.String attr, final @org.jetbrains.annotations.NotNull java.lang.String container, final @org.jetbrains.annotations.NotNull java.util.List assignments) { super(software.amazon.jsii.JsiiObject.InitializationMode.JSII); software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this, new Object[] { java.util.Objects.requireNonNull(attr, "attr is required"), java.util.Objects.requireNonNull(container, "container is required"), java.util.Objects.requireNonNull(assignments, "assignments is required") }); } /** * (experimental) Assign the value to the current attribute. *

* @param val This parameter is required. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.NotNull software.amazon.awscdk.services.appsync.AttributeValues is(final @org.jetbrains.annotations.NotNull java.lang.String val) { return software.amazon.jsii.Kernel.call(this, "is", software.amazon.jsii.NativeType.forClass(software.amazon.awscdk.services.appsync.AttributeValues.class), new Object[] { java.util.Objects.requireNonNull(val, "val is required") }); } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy