@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ResourceDetails extends Object implements Serializable, Cloneable, StructuredPojo
Contains detailed information about the specified resource.
Constructor and Description |
---|
ResourceDetails() |
Modifier and Type | Method and Description |
---|---|
ResourceDetails |
clone() |
boolean |
equals(Object obj) |
ComputeSavingsPlans |
getComputeSavingsPlans()
The Compute Savings Plans recommendation details.
|
EbsVolume |
getEbsVolume()
The Amazon Elastic Block Store volume recommendation details.
|
Ec2AutoScalingGroup |
getEc2AutoScalingGroup()
The EC2 Auto Scaling group recommendation details.
|
Ec2Instance |
getEc2Instance()
The EC2 instance recommendation details.
|
Ec2InstanceSavingsPlans |
getEc2InstanceSavingsPlans()
The EC2 instance Savings Plans recommendation details.
|
Ec2ReservedInstances |
getEc2ReservedInstances()
The EC2 reserved instances recommendation details.
|
EcsService |
getEcsService()
The ECS service recommendation details.
|
ElastiCacheReservedInstances |
getElastiCacheReservedInstances()
The ElastiCache reserved instances recommendation details.
|
LambdaFunction |
getLambdaFunction()
The Lambda function recommendation details.
|
OpenSearchReservedInstances |
getOpenSearchReservedInstances()
The OpenSearch reserved instances recommendation details.
|
RdsDbInstance |
getRdsDbInstance()
The DB instance recommendation details.
|
RdsDbInstanceStorage |
getRdsDbInstanceStorage()
The DB instance storage recommendation details.
|
RdsReservedInstances |
getRdsReservedInstances()
The RDS reserved instances recommendation details.
|
RedshiftReservedInstances |
getRedshiftReservedInstances()
The Redshift reserved instances recommendation details.
|
SageMakerSavingsPlans |
getSageMakerSavingsPlans()
The SageMaker Savings Plans recommendation details.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setComputeSavingsPlans(ComputeSavingsPlans computeSavingsPlans)
The Compute Savings Plans recommendation details.
|
void |
setEbsVolume(EbsVolume ebsVolume)
The Amazon Elastic Block Store volume recommendation details.
|
void |
setEc2AutoScalingGroup(Ec2AutoScalingGroup ec2AutoScalingGroup)
The EC2 Auto Scaling group recommendation details.
|
void |
setEc2Instance(Ec2Instance ec2Instance)
The EC2 instance recommendation details.
|
void |
setEc2InstanceSavingsPlans(Ec2InstanceSavingsPlans ec2InstanceSavingsPlans)
The EC2 instance Savings Plans recommendation details.
|
void |
setEc2ReservedInstances(Ec2ReservedInstances ec2ReservedInstances)
The EC2 reserved instances recommendation details.
|
void |
setEcsService(EcsService ecsService)
The ECS service recommendation details.
|
void |
setElastiCacheReservedInstances(ElastiCacheReservedInstances elastiCacheReservedInstances)
The ElastiCache reserved instances recommendation details.
|
void |
setLambdaFunction(LambdaFunction lambdaFunction)
The Lambda function recommendation details.
|
void |
setOpenSearchReservedInstances(OpenSearchReservedInstances openSearchReservedInstances)
The OpenSearch reserved instances recommendation details.
|
void |
setRdsDbInstance(RdsDbInstance rdsDbInstance)
The DB instance recommendation details.
|
void |
setRdsDbInstanceStorage(RdsDbInstanceStorage rdsDbInstanceStorage)
The DB instance storage recommendation details.
|
void |
setRdsReservedInstances(RdsReservedInstances rdsReservedInstances)
The RDS reserved instances recommendation details.
|
void |
setRedshiftReservedInstances(RedshiftReservedInstances redshiftReservedInstances)
The Redshift reserved instances recommendation details.
|
void |
setSageMakerSavingsPlans(SageMakerSavingsPlans sageMakerSavingsPlans)
The SageMaker Savings Plans recommendation details.
|
String |
toString()
Returns a string representation of this object.
|
ResourceDetails |
withComputeSavingsPlans(ComputeSavingsPlans computeSavingsPlans)
The Compute Savings Plans recommendation details.
|
ResourceDetails |
withEbsVolume(EbsVolume ebsVolume)
The Amazon Elastic Block Store volume recommendation details.
|
ResourceDetails |
withEc2AutoScalingGroup(Ec2AutoScalingGroup ec2AutoScalingGroup)
The EC2 Auto Scaling group recommendation details.
|
ResourceDetails |
withEc2Instance(Ec2Instance ec2Instance)
The EC2 instance recommendation details.
|
ResourceDetails |
withEc2InstanceSavingsPlans(Ec2InstanceSavingsPlans ec2InstanceSavingsPlans)
The EC2 instance Savings Plans recommendation details.
|
ResourceDetails |
withEc2ReservedInstances(Ec2ReservedInstances ec2ReservedInstances)
The EC2 reserved instances recommendation details.
|
ResourceDetails |
withEcsService(EcsService ecsService)
The ECS service recommendation details.
|
ResourceDetails |
withElastiCacheReservedInstances(ElastiCacheReservedInstances elastiCacheReservedInstances)
The ElastiCache reserved instances recommendation details.
|
ResourceDetails |
withLambdaFunction(LambdaFunction lambdaFunction)
The Lambda function recommendation details.
|
ResourceDetails |
withOpenSearchReservedInstances(OpenSearchReservedInstances openSearchReservedInstances)
The OpenSearch reserved instances recommendation details.
|
ResourceDetails |
withRdsDbInstance(RdsDbInstance rdsDbInstance)
The DB instance recommendation details.
|
ResourceDetails |
withRdsDbInstanceStorage(RdsDbInstanceStorage rdsDbInstanceStorage)
The DB instance storage recommendation details.
|
ResourceDetails |
withRdsReservedInstances(RdsReservedInstances rdsReservedInstances)
The RDS reserved instances recommendation details.
|
ResourceDetails |
withRedshiftReservedInstances(RedshiftReservedInstances redshiftReservedInstances)
The Redshift reserved instances recommendation details.
|
ResourceDetails |
withSageMakerSavingsPlans(SageMakerSavingsPlans sageMakerSavingsPlans)
The SageMaker Savings Plans recommendation details.
|
public void setLambdaFunction(LambdaFunction lambdaFunction)
The Lambda function recommendation details.
lambdaFunction
- The Lambda function recommendation details.public LambdaFunction getLambdaFunction()
The Lambda function recommendation details.
public ResourceDetails withLambdaFunction(LambdaFunction lambdaFunction)
The Lambda function recommendation details.
lambdaFunction
- The Lambda function recommendation details.public void setEcsService(EcsService ecsService)
The ECS service recommendation details.
ecsService
- The ECS service recommendation details.public EcsService getEcsService()
The ECS service recommendation details.
public ResourceDetails withEcsService(EcsService ecsService)
The ECS service recommendation details.
ecsService
- The ECS service recommendation details.public void setEc2Instance(Ec2Instance ec2Instance)
The EC2 instance recommendation details.
ec2Instance
- The EC2 instance recommendation details.public Ec2Instance getEc2Instance()
The EC2 instance recommendation details.
public ResourceDetails withEc2Instance(Ec2Instance ec2Instance)
The EC2 instance recommendation details.
ec2Instance
- The EC2 instance recommendation details.public void setEbsVolume(EbsVolume ebsVolume)
The Amazon Elastic Block Store volume recommendation details.
ebsVolume
- The Amazon Elastic Block Store volume recommendation details.public EbsVolume getEbsVolume()
The Amazon Elastic Block Store volume recommendation details.
public ResourceDetails withEbsVolume(EbsVolume ebsVolume)
The Amazon Elastic Block Store volume recommendation details.
ebsVolume
- The Amazon Elastic Block Store volume recommendation details.public void setEc2AutoScalingGroup(Ec2AutoScalingGroup ec2AutoScalingGroup)
The EC2 Auto Scaling group recommendation details.
ec2AutoScalingGroup
- The EC2 Auto Scaling group recommendation details.public Ec2AutoScalingGroup getEc2AutoScalingGroup()
The EC2 Auto Scaling group recommendation details.
public ResourceDetails withEc2AutoScalingGroup(Ec2AutoScalingGroup ec2AutoScalingGroup)
The EC2 Auto Scaling group recommendation details.
ec2AutoScalingGroup
- The EC2 Auto Scaling group recommendation details.public void setEc2ReservedInstances(Ec2ReservedInstances ec2ReservedInstances)
The EC2 reserved instances recommendation details.
ec2ReservedInstances
- The EC2 reserved instances recommendation details.public Ec2ReservedInstances getEc2ReservedInstances()
The EC2 reserved instances recommendation details.
public ResourceDetails withEc2ReservedInstances(Ec2ReservedInstances ec2ReservedInstances)
The EC2 reserved instances recommendation details.
ec2ReservedInstances
- The EC2 reserved instances recommendation details.public void setRdsReservedInstances(RdsReservedInstances rdsReservedInstances)
The RDS reserved instances recommendation details.
rdsReservedInstances
- The RDS reserved instances recommendation details.public RdsReservedInstances getRdsReservedInstances()
The RDS reserved instances recommendation details.
public ResourceDetails withRdsReservedInstances(RdsReservedInstances rdsReservedInstances)
The RDS reserved instances recommendation details.
rdsReservedInstances
- The RDS reserved instances recommendation details.public void setElastiCacheReservedInstances(ElastiCacheReservedInstances elastiCacheReservedInstances)
The ElastiCache reserved instances recommendation details.
elastiCacheReservedInstances
- The ElastiCache reserved instances recommendation details.public ElastiCacheReservedInstances getElastiCacheReservedInstances()
The ElastiCache reserved instances recommendation details.
public ResourceDetails withElastiCacheReservedInstances(ElastiCacheReservedInstances elastiCacheReservedInstances)
The ElastiCache reserved instances recommendation details.
elastiCacheReservedInstances
- The ElastiCache reserved instances recommendation details.public void setOpenSearchReservedInstances(OpenSearchReservedInstances openSearchReservedInstances)
The OpenSearch reserved instances recommendation details.
openSearchReservedInstances
- The OpenSearch reserved instances recommendation details.public OpenSearchReservedInstances getOpenSearchReservedInstances()
The OpenSearch reserved instances recommendation details.
public ResourceDetails withOpenSearchReservedInstances(OpenSearchReservedInstances openSearchReservedInstances)
The OpenSearch reserved instances recommendation details.
openSearchReservedInstances
- The OpenSearch reserved instances recommendation details.public void setRedshiftReservedInstances(RedshiftReservedInstances redshiftReservedInstances)
The Redshift reserved instances recommendation details.
redshiftReservedInstances
- The Redshift reserved instances recommendation details.public RedshiftReservedInstances getRedshiftReservedInstances()
The Redshift reserved instances recommendation details.
public ResourceDetails withRedshiftReservedInstances(RedshiftReservedInstances redshiftReservedInstances)
The Redshift reserved instances recommendation details.
redshiftReservedInstances
- The Redshift reserved instances recommendation details.public void setEc2InstanceSavingsPlans(Ec2InstanceSavingsPlans ec2InstanceSavingsPlans)
The EC2 instance Savings Plans recommendation details.
ec2InstanceSavingsPlans
- The EC2 instance Savings Plans recommendation details.public Ec2InstanceSavingsPlans getEc2InstanceSavingsPlans()
The EC2 instance Savings Plans recommendation details.
public ResourceDetails withEc2InstanceSavingsPlans(Ec2InstanceSavingsPlans ec2InstanceSavingsPlans)
The EC2 instance Savings Plans recommendation details.
ec2InstanceSavingsPlans
- The EC2 instance Savings Plans recommendation details.public void setComputeSavingsPlans(ComputeSavingsPlans computeSavingsPlans)
The Compute Savings Plans recommendation details.
computeSavingsPlans
- The Compute Savings Plans recommendation details.public ComputeSavingsPlans getComputeSavingsPlans()
The Compute Savings Plans recommendation details.
public ResourceDetails withComputeSavingsPlans(ComputeSavingsPlans computeSavingsPlans)
The Compute Savings Plans recommendation details.
computeSavingsPlans
- The Compute Savings Plans recommendation details.public void setSageMakerSavingsPlans(SageMakerSavingsPlans sageMakerSavingsPlans)
The SageMaker Savings Plans recommendation details.
sageMakerSavingsPlans
- The SageMaker Savings Plans recommendation details.public SageMakerSavingsPlans getSageMakerSavingsPlans()
The SageMaker Savings Plans recommendation details.
public ResourceDetails withSageMakerSavingsPlans(SageMakerSavingsPlans sageMakerSavingsPlans)
The SageMaker Savings Plans recommendation details.
sageMakerSavingsPlans
- The SageMaker Savings Plans recommendation details.public void setRdsDbInstance(RdsDbInstance rdsDbInstance)
The DB instance recommendation details.
rdsDbInstance
- The DB instance recommendation details.public RdsDbInstance getRdsDbInstance()
The DB instance recommendation details.
public ResourceDetails withRdsDbInstance(RdsDbInstance rdsDbInstance)
The DB instance recommendation details.
rdsDbInstance
- The DB instance recommendation details.public void setRdsDbInstanceStorage(RdsDbInstanceStorage rdsDbInstanceStorage)
The DB instance storage recommendation details.
rdsDbInstanceStorage
- The DB instance storage recommendation details.public RdsDbInstanceStorage getRdsDbInstanceStorage()
The DB instance storage recommendation details.
public ResourceDetails withRdsDbInstanceStorage(RdsDbInstanceStorage rdsDbInstanceStorage)
The DB instance storage recommendation details.
rdsDbInstanceStorage
- The DB instance storage recommendation details.public String toString()
toString
in class Object
Object.toString()
public ResourceDetails clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.