Class ResourceDetails
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<ResourceDetails.Builder,
ResourceDetails>
Contains detailed information about the specified resource.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interface
static enum
-
Method Summary
Modifier and TypeMethodDescriptionfinal AuroraDbClusterStorage
The Aurora DB cluster storage recommendation details.static ResourceDetails.Builder
builder()
final ComputeSavingsPlans
The Compute Savings Plans recommendation details.final DynamoDbReservedCapacity
The DynamoDB reserved capacity recommendation details.final EbsVolume
The Amazon Elastic Block Store volume recommendation details.final Ec2AutoScalingGroup
The EC2 Auto Scaling group recommendation details.final Ec2Instance
The EC2 instance recommendation details.final Ec2InstanceSavingsPlans
The EC2 instance Savings Plans recommendation details.final Ec2ReservedInstances
The EC2 reserved instances recommendation details.final EcsService
The ECS service recommendation details.The ElastiCache reserved instances recommendation details.final boolean
final boolean
equalsBySdkFields
(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.static ResourceDetails
fromAuroraDbClusterStorage
(Consumer<AuroraDbClusterStorage.Builder> auroraDbClusterStorage) Create an instance of this class withauroraDbClusterStorage()
initialized to the given value.static ResourceDetails
fromAuroraDbClusterStorage
(AuroraDbClusterStorage auroraDbClusterStorage) Create an instance of this class withauroraDbClusterStorage()
initialized to the given value.static ResourceDetails
fromComputeSavingsPlans
(Consumer<ComputeSavingsPlans.Builder> computeSavingsPlans) Create an instance of this class withcomputeSavingsPlans()
initialized to the given value.static ResourceDetails
fromComputeSavingsPlans
(ComputeSavingsPlans computeSavingsPlans) Create an instance of this class withcomputeSavingsPlans()
initialized to the given value.static ResourceDetails
fromDynamoDbReservedCapacity
(Consumer<DynamoDbReservedCapacity.Builder> dynamoDbReservedCapacity) Create an instance of this class withdynamoDbReservedCapacity()
initialized to the given value.static ResourceDetails
fromDynamoDbReservedCapacity
(DynamoDbReservedCapacity dynamoDbReservedCapacity) Create an instance of this class withdynamoDbReservedCapacity()
initialized to the given value.static ResourceDetails
fromEbsVolume
(Consumer<EbsVolume.Builder> ebsVolume) Create an instance of this class withebsVolume()
initialized to the given value.static ResourceDetails
fromEbsVolume
(EbsVolume ebsVolume) Create an instance of this class withebsVolume()
initialized to the given value.static ResourceDetails
fromEc2AutoScalingGroup
(Consumer<Ec2AutoScalingGroup.Builder> ec2AutoScalingGroup) Create an instance of this class withec2AutoScalingGroup()
initialized to the given value.static ResourceDetails
fromEc2AutoScalingGroup
(Ec2AutoScalingGroup ec2AutoScalingGroup) Create an instance of this class withec2AutoScalingGroup()
initialized to the given value.static ResourceDetails
fromEc2Instance
(Consumer<Ec2Instance.Builder> ec2Instance) Create an instance of this class withec2Instance()
initialized to the given value.static ResourceDetails
fromEc2Instance
(Ec2Instance ec2Instance) Create an instance of this class withec2Instance()
initialized to the given value.static ResourceDetails
fromEc2InstanceSavingsPlans
(Consumer<Ec2InstanceSavingsPlans.Builder> ec2InstanceSavingsPlans) Create an instance of this class withec2InstanceSavingsPlans()
initialized to the given value.static ResourceDetails
fromEc2InstanceSavingsPlans
(Ec2InstanceSavingsPlans ec2InstanceSavingsPlans) Create an instance of this class withec2InstanceSavingsPlans()
initialized to the given value.static ResourceDetails
fromEc2ReservedInstances
(Consumer<Ec2ReservedInstances.Builder> ec2ReservedInstances) Create an instance of this class withec2ReservedInstances()
initialized to the given value.static ResourceDetails
fromEc2ReservedInstances
(Ec2ReservedInstances ec2ReservedInstances) Create an instance of this class withec2ReservedInstances()
initialized to the given value.static ResourceDetails
fromEcsService
(Consumer<EcsService.Builder> ecsService) Create an instance of this class withecsService()
initialized to the given value.static ResourceDetails
fromEcsService
(EcsService ecsService) Create an instance of this class withecsService()
initialized to the given value.static ResourceDetails
fromElastiCacheReservedInstances
(Consumer<ElastiCacheReservedInstances.Builder> elastiCacheReservedInstances) Create an instance of this class withelastiCacheReservedInstances()
initialized to the given value.static ResourceDetails
fromElastiCacheReservedInstances
(ElastiCacheReservedInstances elastiCacheReservedInstances) Create an instance of this class withelastiCacheReservedInstances()
initialized to the given value.static ResourceDetails
fromLambdaFunction
(Consumer<LambdaFunction.Builder> lambdaFunction) Create an instance of this class withlambdaFunction()
initialized to the given value.static ResourceDetails
fromLambdaFunction
(LambdaFunction lambdaFunction) Create an instance of this class withlambdaFunction()
initialized to the given value.static ResourceDetails
fromMemoryDbReservedInstances
(Consumer<MemoryDbReservedInstances.Builder> memoryDbReservedInstances) Create an instance of this class withmemoryDbReservedInstances()
initialized to the given value.static ResourceDetails
fromMemoryDbReservedInstances
(MemoryDbReservedInstances memoryDbReservedInstances) Create an instance of this class withmemoryDbReservedInstances()
initialized to the given value.static ResourceDetails
fromOpenSearchReservedInstances
(Consumer<OpenSearchReservedInstances.Builder> openSearchReservedInstances) Create an instance of this class withopenSearchReservedInstances()
initialized to the given value.static ResourceDetails
fromOpenSearchReservedInstances
(OpenSearchReservedInstances openSearchReservedInstances) Create an instance of this class withopenSearchReservedInstances()
initialized to the given value.static ResourceDetails
fromRdsDbInstance
(Consumer<RdsDbInstance.Builder> rdsDbInstance) Create an instance of this class withrdsDbInstance()
initialized to the given value.static ResourceDetails
fromRdsDbInstance
(RdsDbInstance rdsDbInstance) Create an instance of this class withrdsDbInstance()
initialized to the given value.static ResourceDetails
fromRdsDbInstanceStorage
(Consumer<RdsDbInstanceStorage.Builder> rdsDbInstanceStorage) Create an instance of this class withrdsDbInstanceStorage()
initialized to the given value.static ResourceDetails
fromRdsDbInstanceStorage
(RdsDbInstanceStorage rdsDbInstanceStorage) Create an instance of this class withrdsDbInstanceStorage()
initialized to the given value.static ResourceDetails
fromRdsReservedInstances
(Consumer<RdsReservedInstances.Builder> rdsReservedInstances) Create an instance of this class withrdsReservedInstances()
initialized to the given value.static ResourceDetails
fromRdsReservedInstances
(RdsReservedInstances rdsReservedInstances) Create an instance of this class withrdsReservedInstances()
initialized to the given value.static ResourceDetails
fromRedshiftReservedInstances
(Consumer<RedshiftReservedInstances.Builder> redshiftReservedInstances) Create an instance of this class withredshiftReservedInstances()
initialized to the given value.static ResourceDetails
fromRedshiftReservedInstances
(RedshiftReservedInstances redshiftReservedInstances) Create an instance of this class withredshiftReservedInstances()
initialized to the given value.static ResourceDetails
fromSageMakerSavingsPlans
(Consumer<SageMakerSavingsPlans.Builder> sageMakerSavingsPlans) Create an instance of this class withsageMakerSavingsPlans()
initialized to the given value.static ResourceDetails
fromSageMakerSavingsPlans
(SageMakerSavingsPlans sageMakerSavingsPlans) Create an instance of this class withsageMakerSavingsPlans()
initialized to the given value.final <T> Optional
<T> getValueForField
(String fieldName, Class<T> clazz) final int
hashCode()
final LambdaFunction
The Lambda function recommendation details.The MemoryDB reserved instances recommendation details.The OpenSearch reserved instances recommendation details.final RdsDbInstance
The DB instance recommendation details.final RdsDbInstanceStorage
The DB instance storage recommendation details.final RdsReservedInstances
The RDS reserved instances recommendation details.The Redshift reserved instances recommendation details.final SageMakerSavingsPlans
The SageMaker AI Savings Plans recommendation details.static Class
<? extends ResourceDetails.Builder> Take this object and create a builder that contains all of the current property values of this object.final String
toString()
Returns a string representation of this object.type()
Retrieve an enum value representing which member of this object is populated.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
lambdaFunction
The Lambda function recommendation details.
- Returns:
- The Lambda function recommendation details.
-
ecsService
The ECS service recommendation details.
- Returns:
- The ECS service recommendation details.
-
ec2Instance
The EC2 instance recommendation details.
- Returns:
- The EC2 instance recommendation details.
-
ebsVolume
The Amazon Elastic Block Store volume recommendation details.
- Returns:
- The Amazon Elastic Block Store volume recommendation details.
-
ec2AutoScalingGroup
The EC2 Auto Scaling group recommendation details.
- Returns:
- The EC2 Auto Scaling group recommendation details.
-
ec2ReservedInstances
The EC2 reserved instances recommendation details.
- Returns:
- The EC2 reserved instances recommendation details.
-
rdsReservedInstances
The RDS reserved instances recommendation details.
- Returns:
- The RDS reserved instances recommendation details.
-
elastiCacheReservedInstances
The ElastiCache reserved instances recommendation details.
- Returns:
- The ElastiCache reserved instances recommendation details.
-
openSearchReservedInstances
The OpenSearch reserved instances recommendation details.
- Returns:
- The OpenSearch reserved instances recommendation details.
-
redshiftReservedInstances
The Redshift reserved instances recommendation details.
- Returns:
- The Redshift reserved instances recommendation details.
-
ec2InstanceSavingsPlans
The EC2 instance Savings Plans recommendation details.
- Returns:
- The EC2 instance Savings Plans recommendation details.
-
computeSavingsPlans
The Compute Savings Plans recommendation details.
- Returns:
- The Compute Savings Plans recommendation details.
-
sageMakerSavingsPlans
The SageMaker AI Savings Plans recommendation details.
- Returns:
- The SageMaker AI Savings Plans recommendation details.
-
rdsDbInstance
The DB instance recommendation details.
- Returns:
- The DB instance recommendation details.
-
rdsDbInstanceStorage
The DB instance storage recommendation details.
- Returns:
- The DB instance storage recommendation details.
-
auroraDbClusterStorage
The Aurora DB cluster storage recommendation details.
- Returns:
- The Aurora DB cluster storage recommendation details.
-
dynamoDbReservedCapacity
The DynamoDB reserved capacity recommendation details.
- Returns:
- The DynamoDB reserved capacity recommendation details.
-
memoryDbReservedInstances
The MemoryDB reserved instances recommendation details.
- Returns:
- The MemoryDB reserved instances recommendation details.
-
toBuilder
Description copied from interface:ToCopyableBuilder
Take this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilder
in interfaceToCopyableBuilder<ResourceDetails.Builder,
ResourceDetails> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojo
Indicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojo
class, and is generated based on a service model.If an
SdkPojo
class does not have any inherited fields,equalsBySdkFields
andequals
are essentially the same.- Specified by:
equalsBySdkFields
in interfaceSdkPojo
- Parameters:
obj
- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
fromLambdaFunction
Create an instance of this class withlambdaFunction()
initialized to the given value.The Lambda function recommendation details.
- Parameters:
lambdaFunction
- The Lambda function recommendation details.
-
fromLambdaFunction
Create an instance of this class withlambdaFunction()
initialized to the given value.The Lambda function recommendation details.
- Parameters:
lambdaFunction
- The Lambda function recommendation details.
-
fromEcsService
Create an instance of this class withecsService()
initialized to the given value.The ECS service recommendation details.
- Parameters:
ecsService
- The ECS service recommendation details.
-
fromEcsService
Create an instance of this class withecsService()
initialized to the given value.The ECS service recommendation details.
- Parameters:
ecsService
- The ECS service recommendation details.
-
fromEc2Instance
Create an instance of this class withec2Instance()
initialized to the given value.The EC2 instance recommendation details.
- Parameters:
ec2Instance
- The EC2 instance recommendation details.
-
fromEc2Instance
Create an instance of this class withec2Instance()
initialized to the given value.The EC2 instance recommendation details.
- Parameters:
ec2Instance
- The EC2 instance recommendation details.
-
fromEbsVolume
Create an instance of this class withebsVolume()
initialized to the given value.The Amazon Elastic Block Store volume recommendation details.
- Parameters:
ebsVolume
- The Amazon Elastic Block Store volume recommendation details.
-
fromEbsVolume
Create an instance of this class withebsVolume()
initialized to the given value.The Amazon Elastic Block Store volume recommendation details.
- Parameters:
ebsVolume
- The Amazon Elastic Block Store volume recommendation details.
-
fromEc2AutoScalingGroup
Create an instance of this class withec2AutoScalingGroup()
initialized to the given value.The EC2 Auto Scaling group recommendation details.
- Parameters:
ec2AutoScalingGroup
- The EC2 Auto Scaling group recommendation details.
-
fromEc2AutoScalingGroup
public static ResourceDetails fromEc2AutoScalingGroup(Consumer<Ec2AutoScalingGroup.Builder> ec2AutoScalingGroup) Create an instance of this class withec2AutoScalingGroup()
initialized to the given value.The EC2 Auto Scaling group recommendation details.
- Parameters:
ec2AutoScalingGroup
- The EC2 Auto Scaling group recommendation details.
-
fromEc2ReservedInstances
Create an instance of this class withec2ReservedInstances()
initialized to the given value.The EC2 reserved instances recommendation details.
- Parameters:
ec2ReservedInstances
- The EC2 reserved instances recommendation details.
-
fromEc2ReservedInstances
public static ResourceDetails fromEc2ReservedInstances(Consumer<Ec2ReservedInstances.Builder> ec2ReservedInstances) Create an instance of this class withec2ReservedInstances()
initialized to the given value.The EC2 reserved instances recommendation details.
- Parameters:
ec2ReservedInstances
- The EC2 reserved instances recommendation details.
-
fromRdsReservedInstances
Create an instance of this class withrdsReservedInstances()
initialized to the given value.The RDS reserved instances recommendation details.
- Parameters:
rdsReservedInstances
- The RDS reserved instances recommendation details.
-
fromRdsReservedInstances
public static ResourceDetails fromRdsReservedInstances(Consumer<RdsReservedInstances.Builder> rdsReservedInstances) Create an instance of this class withrdsReservedInstances()
initialized to the given value.The RDS reserved instances recommendation details.
- Parameters:
rdsReservedInstances
- The RDS reserved instances recommendation details.
-
fromElastiCacheReservedInstances
public static ResourceDetails fromElastiCacheReservedInstances(ElastiCacheReservedInstances elastiCacheReservedInstances) Create an instance of this class withelastiCacheReservedInstances()
initialized to the given value.The ElastiCache reserved instances recommendation details.
- Parameters:
elastiCacheReservedInstances
- The ElastiCache reserved instances recommendation details.
-
fromElastiCacheReservedInstances
public static ResourceDetails fromElastiCacheReservedInstances(Consumer<ElastiCacheReservedInstances.Builder> elastiCacheReservedInstances) Create an instance of this class withelastiCacheReservedInstances()
initialized to the given value.The ElastiCache reserved instances recommendation details.
- Parameters:
elastiCacheReservedInstances
- The ElastiCache reserved instances recommendation details.
-
fromOpenSearchReservedInstances
public static ResourceDetails fromOpenSearchReservedInstances(OpenSearchReservedInstances openSearchReservedInstances) Create an instance of this class withopenSearchReservedInstances()
initialized to the given value.The OpenSearch reserved instances recommendation details.
- Parameters:
openSearchReservedInstances
- The OpenSearch reserved instances recommendation details.
-
fromOpenSearchReservedInstances
public static ResourceDetails fromOpenSearchReservedInstances(Consumer<OpenSearchReservedInstances.Builder> openSearchReservedInstances) Create an instance of this class withopenSearchReservedInstances()
initialized to the given value.The OpenSearch reserved instances recommendation details.
- Parameters:
openSearchReservedInstances
- The OpenSearch reserved instances recommendation details.
-
fromRedshiftReservedInstances
public static ResourceDetails fromRedshiftReservedInstances(RedshiftReservedInstances redshiftReservedInstances) Create an instance of this class withredshiftReservedInstances()
initialized to the given value.The Redshift reserved instances recommendation details.
- Parameters:
redshiftReservedInstances
- The Redshift reserved instances recommendation details.
-
fromRedshiftReservedInstances
public static ResourceDetails fromRedshiftReservedInstances(Consumer<RedshiftReservedInstances.Builder> redshiftReservedInstances) Create an instance of this class withredshiftReservedInstances()
initialized to the given value.The Redshift reserved instances recommendation details.
- Parameters:
redshiftReservedInstances
- The Redshift reserved instances recommendation details.
-
fromEc2InstanceSavingsPlans
public static ResourceDetails fromEc2InstanceSavingsPlans(Ec2InstanceSavingsPlans ec2InstanceSavingsPlans) Create an instance of this class withec2InstanceSavingsPlans()
initialized to the given value.The EC2 instance Savings Plans recommendation details.
- Parameters:
ec2InstanceSavingsPlans
- The EC2 instance Savings Plans recommendation details.
-
fromEc2InstanceSavingsPlans
public static ResourceDetails fromEc2InstanceSavingsPlans(Consumer<Ec2InstanceSavingsPlans.Builder> ec2InstanceSavingsPlans) Create an instance of this class withec2InstanceSavingsPlans()
initialized to the given value.The EC2 instance Savings Plans recommendation details.
- Parameters:
ec2InstanceSavingsPlans
- The EC2 instance Savings Plans recommendation details.
-
fromComputeSavingsPlans
Create an instance of this class withcomputeSavingsPlans()
initialized to the given value.The Compute Savings Plans recommendation details.
- Parameters:
computeSavingsPlans
- The Compute Savings Plans recommendation details.
-
fromComputeSavingsPlans
public static ResourceDetails fromComputeSavingsPlans(Consumer<ComputeSavingsPlans.Builder> computeSavingsPlans) Create an instance of this class withcomputeSavingsPlans()
initialized to the given value.The Compute Savings Plans recommendation details.
- Parameters:
computeSavingsPlans
- The Compute Savings Plans recommendation details.
-
fromSageMakerSavingsPlans
public static ResourceDetails fromSageMakerSavingsPlans(SageMakerSavingsPlans sageMakerSavingsPlans) Create an instance of this class withsageMakerSavingsPlans()
initialized to the given value.The SageMaker AI Savings Plans recommendation details.
- Parameters:
sageMakerSavingsPlans
- The SageMaker AI Savings Plans recommendation details.
-
fromSageMakerSavingsPlans
public static ResourceDetails fromSageMakerSavingsPlans(Consumer<SageMakerSavingsPlans.Builder> sageMakerSavingsPlans) Create an instance of this class withsageMakerSavingsPlans()
initialized to the given value.The SageMaker AI Savings Plans recommendation details.
- Parameters:
sageMakerSavingsPlans
- The SageMaker AI Savings Plans recommendation details.
-
fromRdsDbInstance
Create an instance of this class withrdsDbInstance()
initialized to the given value.The DB instance recommendation details.
- Parameters:
rdsDbInstance
- The DB instance recommendation details.
-
fromRdsDbInstance
Create an instance of this class withrdsDbInstance()
initialized to the given value.The DB instance recommendation details.
- Parameters:
rdsDbInstance
- The DB instance recommendation details.
-
fromRdsDbInstanceStorage
Create an instance of this class withrdsDbInstanceStorage()
initialized to the given value.The DB instance storage recommendation details.
- Parameters:
rdsDbInstanceStorage
- The DB instance storage recommendation details.
-
fromRdsDbInstanceStorage
public static ResourceDetails fromRdsDbInstanceStorage(Consumer<RdsDbInstanceStorage.Builder> rdsDbInstanceStorage) Create an instance of this class withrdsDbInstanceStorage()
initialized to the given value.The DB instance storage recommendation details.
- Parameters:
rdsDbInstanceStorage
- The DB instance storage recommendation details.
-
fromAuroraDbClusterStorage
public static ResourceDetails fromAuroraDbClusterStorage(AuroraDbClusterStorage auroraDbClusterStorage) Create an instance of this class withauroraDbClusterStorage()
initialized to the given value.The Aurora DB cluster storage recommendation details.
- Parameters:
auroraDbClusterStorage
- The Aurora DB cluster storage recommendation details.
-
fromAuroraDbClusterStorage
public static ResourceDetails fromAuroraDbClusterStorage(Consumer<AuroraDbClusterStorage.Builder> auroraDbClusterStorage) Create an instance of this class withauroraDbClusterStorage()
initialized to the given value.The Aurora DB cluster storage recommendation details.
- Parameters:
auroraDbClusterStorage
- The Aurora DB cluster storage recommendation details.
-
fromDynamoDbReservedCapacity
public static ResourceDetails fromDynamoDbReservedCapacity(DynamoDbReservedCapacity dynamoDbReservedCapacity) Create an instance of this class withdynamoDbReservedCapacity()
initialized to the given value.The DynamoDB reserved capacity recommendation details.
- Parameters:
dynamoDbReservedCapacity
- The DynamoDB reserved capacity recommendation details.
-
fromDynamoDbReservedCapacity
public static ResourceDetails fromDynamoDbReservedCapacity(Consumer<DynamoDbReservedCapacity.Builder> dynamoDbReservedCapacity) Create an instance of this class withdynamoDbReservedCapacity()
initialized to the given value.The DynamoDB reserved capacity recommendation details.
- Parameters:
dynamoDbReservedCapacity
- The DynamoDB reserved capacity recommendation details.
-
fromMemoryDbReservedInstances
public static ResourceDetails fromMemoryDbReservedInstances(MemoryDbReservedInstances memoryDbReservedInstances) Create an instance of this class withmemoryDbReservedInstances()
initialized to the given value.The MemoryDB reserved instances recommendation details.
- Parameters:
memoryDbReservedInstances
- The MemoryDB reserved instances recommendation details.
-
fromMemoryDbReservedInstances
public static ResourceDetails fromMemoryDbReservedInstances(Consumer<MemoryDbReservedInstances.Builder> memoryDbReservedInstances) Create an instance of this class withmemoryDbReservedInstances()
initialized to the given value.The MemoryDB reserved instances recommendation details.
- Parameters:
memoryDbReservedInstances
- The MemoryDB reserved instances recommendation details.
-
type
Retrieve an enum value representing which member of this object is populated. When this class is returned in a service response, this will beResourceDetails.Type.UNKNOWN_TO_SDK_VERSION
if the service returned a member that is only known to a newer SDK version. When this class is created directly in your code, this will beResourceDetails.Type.UNKNOWN_TO_SDK_VERSION
if zero members are set, andnull
if more than one member is set. -
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToField
in interfaceSdkPojo
- Returns:
- The mapping between the field name and its corresponding field.
-