Class NonApiResource

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

    @Generated(value="jsii-pacmak/1.69.0 (build f656c31)",
               date="2022-10-15T03:08:35.125Z")
    @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