Class InputOrigin

    • Method Detail

      • name

        public final String name()

        The name of the origin resource.

        Returns:
        The name of the origin resource.
      • regionName

        public final RegionName regionName()

        The AWS Region name of the origin resource.

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

        Returns:
        The AWS Region name of the origin resource.
        See Also:
        RegionName
      • regionNameAsString

        public final String regionNameAsString()

        The AWS Region name of the origin resource.

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

        Returns:
        The AWS Region name of the origin resource.
        See Also:
        RegionName
      • protocolPolicy

        public final OriginProtocolPolicyEnum protocolPolicy()

        The protocol that your Amazon Lightsail distribution uses when establishing a connection with your origin to pull content.

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

        Returns:
        The protocol that your Amazon Lightsail distribution uses when establishing a connection with your origin to pull content.
        See Also:
        OriginProtocolPolicyEnum
      • protocolPolicyAsString

        public final String protocolPolicyAsString()

        The protocol that your Amazon Lightsail distribution uses when establishing a connection with your origin to pull content.

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

        Returns:
        The protocol that your Amazon Lightsail distribution uses when establishing a connection with your origin to pull content.
        See Also:
        OriginProtocolPolicyEnum
      • responseTimeout

        public final Integer responseTimeout()

        The amount of time, in seconds, that the distribution waits for a response after forwarding a request to the origin. The minimum timeout is 1 second, the maximum is 60 seconds, and the default (if you don't specify otherwise) is 30 seconds.

        Returns:
        The amount of time, in seconds, that the distribution waits for a response after forwarding a request to the origin. The minimum timeout is 1 second, the maximum is 60 seconds, and the default (if you don't specify otherwise) is 30 seconds.
      • 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)