java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.appsync.Assign
All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable

@Generated(value="jsii-pacmak/1.97.0 (build 729de35)", date="2024-04-24T21:00:25.704Z") @Stability(Stable) public class Assign extends software.amazon.jsii.JsiiObject
Utility class representing the assigment of 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 = new Assign("attr", "arg");
 
  • Nested Class Summary

    Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject

    software.amazon.jsii.JsiiObject.InitializationMode
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
     
    Assign(String attr, String arg)
     
    protected
    Assign(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
     
    protected
    Assign(software.amazon.jsii.JsiiObjectRef objRef)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Renders the assignment as a map element.
    Renders the assignment as a VTL string.

    Methods inherited from class software.amazon.jsii.JsiiObject

    jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface software.amazon.jsii.JsiiSerializable

    $jsii$toJson
  • Constructor Details

    • Assign

      protected Assign(software.amazon.jsii.JsiiObjectRef objRef)
    • Assign

      protected Assign(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • Assign

      @Stability(Stable) public Assign(@NotNull String attr, @NotNull String arg)
      Parameters:
      attr - This parameter is required.
      arg - This parameter is required.
  • Method Details

    • putInMap

      @Stability(Stable) @NotNull public String putInMap(@NotNull String map)
      Renders the assignment as a map element.

      Parameters:
      map - This parameter is required.
    • renderAsAssignment

      @Stability(Stable) @NotNull public String renderAsAssignment()
      Renders the assignment as a VTL string.