Class ApiGatewayApiAsset

    • Method Detail

      • apiDescription

        public final String apiDescription()

        The API description of the API asset.

        Returns:
        The API description of the API asset.
      • apiEndpoint

        public final String apiEndpoint()

        The API endpoint of the API asset.

        Returns:
        The API endpoint of the API asset.
      • apiId

        public final String apiId()

        The unique identifier of the API asset.

        Returns:
        The unique identifier of the API asset.
      • apiKey

        public final String apiKey()

        The API key of the API asset.

        Returns:
        The API key of the API asset.
      • apiName

        public final String apiName()

        The API name of the API asset.

        Returns:
        The API name of the API asset.
      • apiSpecificationDownloadUrl

        public final String apiSpecificationDownloadUrl()

        The download URL of the API specification of the API asset.

        Returns:
        The download URL of the API specification of the API asset.
      • apiSpecificationDownloadUrlExpiresAt

        public final Instant apiSpecificationDownloadUrlExpiresAt()

        The date and time that the upload URL expires, in ISO 8601 format.

        Returns:
        The date and time that the upload URL expires, in ISO 8601 format.
      • protocolTypeAsString

        public final String protocolTypeAsString()

        The protocol type of the API asset.

        If the service returns an enum value that is not available in the current SDK version, protocolType will return ProtocolType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from protocolTypeAsString().

        Returns:
        The protocol type of the API asset.
        See Also:
        ProtocolType
      • stage

        public final String stage()

        The stage of the API asset.

        Returns:
        The stage of the API asset.
      • hashCode

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

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)