@Generated(value="software.amazon.awssdk:codegen") public final class LicenseConfigurationAssociation extends Object implements SdkPojo, Serializable, ToCopyableBuilder<LicenseConfigurationAssociation.Builder,LicenseConfigurationAssociation>
Describes an association with a license configuration.
| Modifier and Type | Class and Description |
|---|---|
static interface |
LicenseConfigurationAssociation.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
amiAssociationScope()
Scope of AMI associations.
|
Instant |
associationTime()
Time when the license configuration was associated with the resource.
|
static LicenseConfigurationAssociation.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
resourceArn()
Amazon Resource Name (ARN) of the resource.
|
String |
resourceOwnerId()
ID of the Amazon Web Services account that owns the resource consuming licenses.
|
ResourceType |
resourceType()
Type of server resource.
|
String |
resourceTypeAsString()
Type of server resource.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends LicenseConfigurationAssociation.Builder> |
serializableBuilderClass() |
LicenseConfigurationAssociation.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String resourceArn()
Amazon Resource Name (ARN) of the resource.
public final ResourceType resourceType()
Type of server resource.
If the service returns an enum value that is not available in the current SDK version, resourceType will
return ResourceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
resourceTypeAsString().
ResourceTypepublic final String resourceTypeAsString()
Type of server resource.
If the service returns an enum value that is not available in the current SDK version, resourceType will
return ResourceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
resourceTypeAsString().
ResourceTypepublic final String resourceOwnerId()
ID of the Amazon Web Services account that owns the resource consuming licenses.
public final Instant associationTime()
Time when the license configuration was associated with the resource.
public final String amiAssociationScope()
Scope of AMI associations. The possible value is cross-account.
cross-account.public LicenseConfigurationAssociation.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<LicenseConfigurationAssociation.Builder,LicenseConfigurationAssociation>public static LicenseConfigurationAssociation.Builder builder()
public static Class<? extends LicenseConfigurationAssociation.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.