Class ResourceEnvironment.Jsii$Proxy

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.core.ResourceEnvironment.Jsii$Proxy
All Implemented Interfaces:
ResourceEnvironment, software.amazon.jsii.JsiiSerializable
Enclosing interface:
ResourceEnvironment

@Stability(Stable) @Internal public static final class ResourceEnvironment.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements ResourceEnvironment
An implementation for ResourceEnvironment
  • Nested Class Summary

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

    software.amazon.jsii.JsiiObject.InitializationMode

    Nested classes/interfaces inherited from interface software.amazon.awscdk.core.ResourceEnvironment

    ResourceEnvironment.Builder, ResourceEnvironment.Jsii$Proxy
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    Constructor that initializes the object based on literal property values passed by the ResourceEnvironment.Builder.
    protected
    Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
    Constructor that initializes the object based on values retrieved from the JsiiObject.
  • Method Summary

    Modifier and Type
    Method
    Description
    com.fasterxml.jackson.databind.JsonNode
     
    final boolean
     
    final String
    The AWS account ID that this resource belongs to.
    final String
    The AWS region that this resource belongs to.
    final int
     

    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, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • Jsii$Proxy

      protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
      Constructor that initializes the object based on values retrieved from the JsiiObject.
      Parameters:
      objRef - Reference to the JSII managed object.
    • Jsii$Proxy

      protected Jsii$Proxy(ResourceEnvironment.Builder builder)
      Constructor that initializes the object based on literal property values passed by the ResourceEnvironment.Builder.
  • Method Details

    • getAccount

      public final String getAccount()
      Description copied from interface: ResourceEnvironment
      The AWS account ID that this resource belongs to.

      Since this can be a Token (for example, when the account is CloudFormation's AWS::AccountId intrinsic), make sure to use Token.compareStrings() instead of just comparing the values for equality.

      Specified by:
      getAccount in interface ResourceEnvironment
    • getRegion

      public final String getRegion()
      Description copied from interface: ResourceEnvironment
      The AWS region that this resource belongs to.

      Since this can be a Token (for example, when the region is CloudFormation's AWS::Region intrinsic), make sure to use Token.compareStrings() instead of just comparing the values for equality.

      Specified by:
      getRegion in interface ResourceEnvironment
    • $jsii$toJson

      @Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
      Specified by:
      $jsii$toJson in interface software.amazon.jsii.JsiiSerializable
    • equals

      public final boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class Object