Class RegisteredSubscriptionProvider
- java.lang.Object
-
- software.amazon.awssdk.services.licensemanagerlinuxsubscriptions.model.RegisteredSubscriptionProvider
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<RegisteredSubscriptionProvider.Builder,RegisteredSubscriptionProvider>
@Generated("software.amazon.awssdk:codegen") public final class RegisteredSubscriptionProvider extends Object implements SdkPojo, Serializable, ToCopyableBuilder<RegisteredSubscriptionProvider.Builder,RegisteredSubscriptionProvider>
A third-party provider for operating system (OS) platform software and license subscriptions, such as Red Hat. When you register a third-party Linux subscription provider, License Manager can get subscription data from the registered provider.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceRegisteredSubscriptionProvider.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RegisteredSubscriptionProvider.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringlastSuccessfulDataRetrievalTime()The timestamp from the last time that License Manager accessed third-party subscription data for your account from your registered Linux subscription provider.List<SdkField<?>>sdkFields()StringsecretArn()The Amazon Resource Name (ARN) of the Secrets Manager secret that stores your registered Linux subscription provider access token.static Class<? extends RegisteredSubscriptionProvider.Builder>serializableBuilderClass()StringsubscriptionProviderArn()The Amazon Resource Name (ARN) of the Linux subscription provider resource that you registered.SubscriptionProviderSourcesubscriptionProviderSource()A supported third-party Linux subscription provider.StringsubscriptionProviderSourceAsString()A supported third-party Linux subscription provider.SubscriptionProviderStatussubscriptionProviderStatus()Indicates the status of your registered Linux subscription provider access token from the last time License Manager retrieved subscription data.StringsubscriptionProviderStatusAsString()Indicates the status of your registered Linux subscription provider access token from the last time License Manager retrieved subscription data.StringsubscriptionProviderStatusMessage()A detailed message that's associated with your BYOL subscription provider token status.RegisteredSubscriptionProvider.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
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.
-
subscriptionProviderSource
public final SubscriptionProviderSource subscriptionProviderSource()
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,
subscriptionProviderSourcewill returnSubscriptionProviderSource.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromsubscriptionProviderSourceAsString().- Returns:
- A supported third-party Linux subscription provider. License Manager currently supports Red Hat subscriptions.
- See Also:
SubscriptionProviderSource
-
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,
subscriptionProviderSourcewill returnSubscriptionProviderSource.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromsubscriptionProviderSourceAsString().- 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,
subscriptionProviderStatuswill returnSubscriptionProviderStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromsubscriptionProviderStatusAsString().- 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,
subscriptionProviderStatuswill returnSubscriptionProviderStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromsubscriptionProviderStatusAsString().- 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.
-
toBuilder
public RegisteredSubscriptionProvider.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<RegisteredSubscriptionProvider.Builder,RegisteredSubscriptionProvider>
-
builder
public static RegisteredSubscriptionProvider.Builder builder()
-
serializableBuilderClass
public static Class<? extends RegisteredSubscriptionProvider.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
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.
-
-