@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 AWS 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) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
resourceId()
The ID of the AWS resource.
|
String |
resourceName()
The name of the AWS resource.
|
ResourceType |
resourceType()
The type of the AWS resource.
|
String |
resourceTypeAsString()
The type of the AWS 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()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public String sourceAccountId()
The 12-digit account ID of the source account.
public String sourceRegion()
The source region where data is aggregated.
public String resourceId()
The ID of the AWS resource.
public ResourceType resourceType()
The type of the AWS 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()
The type of the AWS 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 resourceName()
The name of the AWS resource.
public AggregateResourceIdentifier.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<AggregateResourceIdentifier.Builder,AggregateResourceIdentifier>
public static AggregateResourceIdentifier.Builder builder()
public static Class<? extends AggregateResourceIdentifier.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.