Class FetchOptions.Jsii$Proxy

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

@Stability(Experimental) @Internal public static final class FetchOptions.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements FetchOptions
An implementation for FetchOptions
  • 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.integtests.alpha.FetchOptions

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

    Constructors
    Modifier
    Constructor
    Description
    protected
    Constructor that initializes the object based on literal property values passed by the FetchOptions.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
    (experimental) Request body.
    (experimental) Optional request headers.
    final String
    (experimental) HTTP method.
    final Number
    (experimental) Optional port.
    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(FetchOptions.Builder builder)
      Constructor that initializes the object based on literal property values passed by the FetchOptions.Builder.
  • Method Details

    • getBody

      public final String getBody()
      Description copied from interface: FetchOptions
      (experimental) Request body.

      Default: - no body

      Specified by:
      getBody in interface FetchOptions
    • getHeaders

      public final Map<String,String> getHeaders()
      Description copied from interface: FetchOptions
      (experimental) Optional request headers.

      Default: no headers

      Specified by:
      getHeaders in interface FetchOptions
    • getMethod

      public final String getMethod()
      Description copied from interface: FetchOptions
      (experimental) HTTP method.

      Default: GET

      Specified by:
      getMethod in interface FetchOptions
    • getPort

      public final Number getPort()
      Description copied from interface: FetchOptions
      (experimental) Optional port.

      Default: default port for protocol

      Specified by:
      getPort in interface FetchOptions
    • $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