@Generated(value="software.amazon.awssdk:codegen") public final class LicenseConfigurationAssociation extends Object implements SdkPojo, Serializable, ToCopyableBuilder<LicenseConfigurationAssociation.Builder,LicenseConfigurationAssociation>
Describes a server resource that is associated with a license configuration.
Modifier and Type | Class and Description |
---|---|
static interface |
LicenseConfigurationAssociation.Builder |
Modifier and Type | Method and Description |
---|---|
Instant |
associationTime()
Time when the license configuration was associated with the resource.
|
static LicenseConfigurationAssociation.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
resourceArn()
ARN of the resource associated with the license configuration.
|
String |
resourceOwnerId()
ID of the AWS 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()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public String resourceArn()
ARN of the resource associated with the license configuration.
public 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()
.
ResourceType
public 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()
.
ResourceType
public String resourceOwnerId()
ID of the AWS account that owns the resource consuming licenses.
public Instant associationTime()
Time when the license configuration was associated with the resource.
public LicenseConfigurationAssociation.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<LicenseConfigurationAssociation.Builder,LicenseConfigurationAssociation>
public static LicenseConfigurationAssociation.Builder builder()
public static Class<? extends LicenseConfigurationAssociation.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.