Class Byoasn

    • Method Detail

      • asn

        public final String asn()

        A public 2-byte or 4-byte ASN.

        Returns:
        A public 2-byte or 4-byte ASN.
      • ipamId

        public final String ipamId()

        An IPAM ID.

        Returns:
        An IPAM ID.
      • statusMessage

        public final String statusMessage()

        The status message.

        Returns:
        The status message.
      • state

        public final AsnState state()

        The provisioning state of the BYOASN.

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

        Returns:
        The provisioning state of the BYOASN.
        See Also:
        AsnState
      • stateAsString

        public final String stateAsString()

        The provisioning state of the BYOASN.

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

        Returns:
        The provisioning state of the BYOASN.
        See Also:
        AsnState
      • serializableBuilderClass

        public static Class<? extends Byoasn.Builder> serializableBuilderClass()
      • 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)