@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RecommendationSummary extends Object implements Serializable, Cloneable, StructuredPojo
A summary of a recommendation.
Constructor and Description |
---|
RecommendationSummary() |
Modifier and Type | Method and Description |
---|---|
RecommendationSummary |
clone() |
boolean |
equals(Object obj) |
String |
getAccountId()
The AWS account ID of the recommendation summary.
|
String |
getRecommendationResourceType()
The resource type of the recommendation.
|
List<Summary> |
getSummaries()
An array of objects that describe a recommendation summary.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAccountId(String accountId)
The AWS account ID of the recommendation summary.
|
void |
setRecommendationResourceType(String recommendationResourceType)
The resource type of the recommendation.
|
void |
setSummaries(Collection<Summary> summaries)
An array of objects that describe a recommendation summary.
|
String |
toString()
Returns a string representation of this object.
|
RecommendationSummary |
withAccountId(String accountId)
The AWS account ID of the recommendation summary.
|
RecommendationSummary |
withRecommendationResourceType(RecommendationSourceType recommendationResourceType)
The resource type of the recommendation.
|
RecommendationSummary |
withRecommendationResourceType(String recommendationResourceType)
The resource type of the recommendation.
|
RecommendationSummary |
withSummaries(Collection<Summary> summaries)
An array of objects that describe a recommendation summary.
|
RecommendationSummary |
withSummaries(Summary... summaries)
An array of objects that describe a recommendation summary.
|
public List<Summary> getSummaries()
An array of objects that describe a recommendation summary.
public void setSummaries(Collection<Summary> summaries)
An array of objects that describe a recommendation summary.
summaries
- An array of objects that describe a recommendation summary.public RecommendationSummary withSummaries(Summary... summaries)
An array of objects that describe a recommendation summary.
NOTE: This method appends the values to the existing list (if any). Use
setSummaries(java.util.Collection)
or withSummaries(java.util.Collection)
if you want to
override the existing values.
summaries
- An array of objects that describe a recommendation summary.public RecommendationSummary withSummaries(Collection<Summary> summaries)
An array of objects that describe a recommendation summary.
summaries
- An array of objects that describe a recommendation summary.public void setRecommendationResourceType(String recommendationResourceType)
The resource type of the recommendation.
recommendationResourceType
- The resource type of the recommendation.RecommendationSourceType
public String getRecommendationResourceType()
The resource type of the recommendation.
RecommendationSourceType
public RecommendationSummary withRecommendationResourceType(String recommendationResourceType)
The resource type of the recommendation.
recommendationResourceType
- The resource type of the recommendation.RecommendationSourceType
public RecommendationSummary withRecommendationResourceType(RecommendationSourceType recommendationResourceType)
The resource type of the recommendation.
recommendationResourceType
- The resource type of the recommendation.RecommendationSourceType
public void setAccountId(String accountId)
The AWS account ID of the recommendation summary.
accountId
- The AWS account ID of the recommendation summary.public String getAccountId()
The AWS account ID of the recommendation summary.
public RecommendationSummary withAccountId(String accountId)
The AWS account ID of the recommendation summary.
accountId
- The AWS account ID of the recommendation summary.public String toString()
toString
in class Object
Object.toString()
public RecommendationSummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.