Class LicenseConfigurationAssociation
- java.lang.Object
-
- software.amazon.awssdk.services.licensemanager.model.LicenseConfigurationAssociation
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<LicenseConfigurationAssociation.Builder,LicenseConfigurationAssociation>
@Generated("software.amazon.awssdk:codegen") public final class LicenseConfigurationAssociation extends Object implements SdkPojo, Serializable, ToCopyableBuilder<LicenseConfigurationAssociation.Builder,LicenseConfigurationAssociation>
Describes an association with a license configuration.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceLicenseConfigurationAssociation.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringamiAssociationScope()Scope of AMI associations.InstantassociationTime()Time when the license configuration was associated with the resource.static LicenseConfigurationAssociation.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringresourceArn()Amazon Resource Name (ARN) of the resource.StringresourceOwnerId()ID of the Amazon Web Services account that owns the resource consuming licenses.ResourceTyperesourceType()Type of server resource.StringresourceTypeAsString()Type of server resource.List<SdkField<?>>sdkFields()static Class<? extends LicenseConfigurationAssociation.Builder>serializableBuilderClass()LicenseConfigurationAssociation.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
-
resourceArn
public final String resourceArn()
Amazon Resource Name (ARN) of the resource.
- Returns:
- Amazon Resource Name (ARN) of the resource.
-
resourceType
public final ResourceType resourceType()
Type of server resource.
If the service returns an enum value that is not available in the current SDK version,
resourceTypewill returnResourceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromresourceTypeAsString().- Returns:
- Type of server resource.
- See Also:
ResourceType
-
resourceTypeAsString
public final String resourceTypeAsString()
Type of server resource.
If the service returns an enum value that is not available in the current SDK version,
resourceTypewill returnResourceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromresourceTypeAsString().- Returns:
- Type of server resource.
- See Also:
ResourceType
-
resourceOwnerId
public final String resourceOwnerId()
ID of the Amazon Web Services account that owns the resource consuming licenses.
- Returns:
- ID of the Amazon Web Services account that owns the resource consuming licenses.
-
associationTime
public final Instant associationTime()
Time when the license configuration was associated with the resource.
- Returns:
- Time when the license configuration was associated with the resource.
-
amiAssociationScope
public final String amiAssociationScope()
Scope of AMI associations. The possible value is
cross-account.- Returns:
- Scope of AMI associations. The possible value is
cross-account.
-
toBuilder
public LicenseConfigurationAssociation.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<LicenseConfigurationAssociation.Builder,LicenseConfigurationAssociation>
-
builder
public static LicenseConfigurationAssociation.Builder builder()
-
serializableBuilderClass
public static Class<? extends LicenseConfigurationAssociation.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.
-
-