Class NonApiResource

  • All Implemented Interfaces:
    IApiEndpoint, software.amazon.jsii.JsiiSerializable

    @Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
               date="2023-06-25T00:27:46.854Z")
    @Stability(Stable)
    public class NonApiResource
    extends software.amazon.jsii.JsiiObject
    implements IApiEndpoint
    Factory for creating non api resources.
    • Constructor Detail

      • NonApiResource

        protected NonApiResource​(software.amazon.jsii.JsiiObjectRef objRef)
      • NonApiResource

        protected NonApiResource​(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • Method Detail

      • of

        @Stability(Stable)
        @NotNull
        public static NonApiResource of​(@NotNull
                                        String url)
        Parameters:
        url - This parameter is required.
      • asApiResource

        @Stability(Stable)
        @Nullable
        public IApiResource asApiResource()
        Return the IApiResource this object represents.
        Specified by:
        asApiResource in interface IApiEndpoint
      • asNonApiResource

        @Stability(Stable)
        @Nullable
        public String asNonApiResource()
        Return the non resource url this object represents.
        Specified by:
        asNonApiResource in interface IApiEndpoint