@Generated(value="software.amazon.awssdk:codegen") public final class AggregateResourceIdentifier extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AggregateResourceIdentifier.Builder,AggregateResourceIdentifier>
The details that identify a resource that is collected by Config aggregator, including the resource type, ID, (if available) the custom resource name, the source account, and source region.
| Modifier and Type | Class and Description |
|---|---|
static interface |
AggregateResourceIdentifier.Builder |
| Modifier and Type | Method and Description |
|---|---|
static AggregateResourceIdentifier.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
resourceId()
The ID of the Amazon Web Services resource.
|
String |
resourceName()
The name of the Amazon Web Services resource.
|
ResourceType |
resourceType()
The type of the Amazon Web Services resource.
|
String |
resourceTypeAsString()
The type of the Amazon Web Services resource.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends AggregateResourceIdentifier.Builder> |
serializableBuilderClass() |
String |
sourceAccountId()
The 12-digit account ID of the source account.
|
String |
sourceRegion()
The source region where data is aggregated.
|
AggregateResourceIdentifier.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String sourceAccountId()
The 12-digit account ID of the source account.
public final String sourceRegion()
The source region where data is aggregated.
public final String resourceId()
The ID of the Amazon Web Services resource.
public final ResourceType resourceType()
The type of the Amazon Web Services 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()
The type of the Amazon Web Services 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 resourceName()
The name of the Amazon Web Services resource.
public AggregateResourceIdentifier.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<AggregateResourceIdentifier.Builder,AggregateResourceIdentifier>public static AggregateResourceIdentifier.Builder builder()
public static Class<? extends AggregateResourceIdentifier.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.