Class RegisteredSubscriptionProvider

    • Method Detail

      • lastSuccessfulDataRetrievalTime

        public final String lastSuccessfulDataRetrievalTime()

        The timestamp from the last time that License Manager accessed third-party subscription data for your account from your registered Linux subscription provider.

        Returns:
        The timestamp from the last time that License Manager accessed third-party subscription data for your account from your registered Linux subscription provider.
      • secretArn

        public final String secretArn()

        The Amazon Resource Name (ARN) of the Secrets Manager secret that stores your registered Linux subscription provider access token. For RHEL account subscriptions, this is the offline token.

        Returns:
        The Amazon Resource Name (ARN) of the Secrets Manager secret that stores your registered Linux subscription provider access token. For RHEL account subscriptions, this is the offline token.
      • subscriptionProviderArn

        public final String subscriptionProviderArn()

        The Amazon Resource Name (ARN) of the Linux subscription provider resource that you registered.

        Returns:
        The Amazon Resource Name (ARN) of the Linux subscription provider resource that you registered.
      • subscriptionProviderSourceAsString

        public final String subscriptionProviderSourceAsString()

        A supported third-party Linux subscription provider. License Manager currently supports Red Hat subscriptions.

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

        Returns:
        A supported third-party Linux subscription provider. License Manager currently supports Red Hat subscriptions.
        See Also:
        SubscriptionProviderSource
      • subscriptionProviderStatus

        public final SubscriptionProviderStatus subscriptionProviderStatus()

        Indicates the status of your registered Linux subscription provider access token from the last time License Manager retrieved subscription data. For RHEL account subscriptions, this is the status of the offline token.

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

        Returns:
        Indicates the status of your registered Linux subscription provider access token from the last time License Manager retrieved subscription data. For RHEL account subscriptions, this is the status of the offline token.
        See Also:
        SubscriptionProviderStatus
      • subscriptionProviderStatusAsString

        public final String subscriptionProviderStatusAsString()

        Indicates the status of your registered Linux subscription provider access token from the last time License Manager retrieved subscription data. For RHEL account subscriptions, this is the status of the offline token.

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

        Returns:
        Indicates the status of your registered Linux subscription provider access token from the last time License Manager retrieved subscription data. For RHEL account subscriptions, this is the status of the offline token.
        See Also:
        SubscriptionProviderStatus
      • subscriptionProviderStatusMessage

        public final String subscriptionProviderStatusMessage()

        A detailed message that's associated with your BYOL subscription provider token status.

        Returns:
        A detailed message that's associated with your BYOL subscription provider token status.
      • 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)