Class AggregateResourceIdentifier
- java.lang.Object
-
- software.amazon.awssdk.services.config.model.AggregateResourceIdentifier
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<AggregateResourceIdentifier.Builder,AggregateResourceIdentifier>
@Generated("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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceAggregateResourceIdentifier.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AggregateResourceIdentifier.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringresourceId()The ID of the Amazon Web Services resource.StringresourceName()The name of the Amazon Web Services resource.ResourceTyperesourceType()The type of the Amazon Web Services resource.StringresourceTypeAsString()The type of the Amazon Web Services resource.List<SdkField<?>>sdkFields()static Class<? extends AggregateResourceIdentifier.Builder>serializableBuilderClass()StringsourceAccountId()The 12-digit account ID of the source account.StringsourceRegion()The source region where data is aggregated.AggregateResourceIdentifier.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
-
sourceAccountId
public final String sourceAccountId()
The 12-digit account ID of the source account.
- Returns:
- The 12-digit account ID of the source account.
-
sourceRegion
public final String sourceRegion()
The source region where data is aggregated.
- Returns:
- The source region where data is aggregated.
-
resourceId
public final String resourceId()
The ID of the Amazon Web Services resource.
- Returns:
- The ID of the Amazon Web Services resource.
-
resourceType
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,
resourceTypewill returnResourceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromresourceTypeAsString().- Returns:
- The type of the Amazon Web Services resource.
- See Also:
ResourceType
-
resourceTypeAsString
public 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,
resourceTypewill returnResourceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromresourceTypeAsString().- Returns:
- The type of the Amazon Web Services resource.
- See Also:
ResourceType
-
resourceName
public final String resourceName()
The name of the Amazon Web Services resource.
- Returns:
- The name of the Amazon Web Services resource.
-
toBuilder
public AggregateResourceIdentifier.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<AggregateResourceIdentifier.Builder,AggregateResourceIdentifier>
-
builder
public static AggregateResourceIdentifier.Builder builder()
-
serializableBuilderClass
public static Class<? extends AggregateResourceIdentifier.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.
-
-