@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RecommendationSource extends Object implements Serializable, Cloneable, StructuredPojo
Describes the source of a recommendation, such as an Amazon EC2 instance or Auto Scaling group.
| Constructor and Description |
|---|
RecommendationSource() |
| Modifier and Type | Method and Description |
|---|---|
RecommendationSource |
clone() |
boolean |
equals(Object obj) |
String |
getRecommendationSourceArn()
The Amazon Resource Name (ARN) of the recommendation source.
|
String |
getRecommendationSourceType()
The resource type of the recommendation source.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setRecommendationSourceArn(String recommendationSourceArn)
The Amazon Resource Name (ARN) of the recommendation source.
|
void |
setRecommendationSourceType(String recommendationSourceType)
The resource type of the recommendation source.
|
String |
toString()
Returns a string representation of this object.
|
RecommendationSource |
withRecommendationSourceArn(String recommendationSourceArn)
The Amazon Resource Name (ARN) of the recommendation source.
|
RecommendationSource |
withRecommendationSourceType(RecommendationSourceType recommendationSourceType)
The resource type of the recommendation source.
|
RecommendationSource |
withRecommendationSourceType(String recommendationSourceType)
The resource type of the recommendation source.
|
public void setRecommendationSourceArn(String recommendationSourceArn)
The Amazon Resource Name (ARN) of the recommendation source.
recommendationSourceArn - The Amazon Resource Name (ARN) of the recommendation source.public String getRecommendationSourceArn()
The Amazon Resource Name (ARN) of the recommendation source.
public RecommendationSource withRecommendationSourceArn(String recommendationSourceArn)
The Amazon Resource Name (ARN) of the recommendation source.
recommendationSourceArn - The Amazon Resource Name (ARN) of the recommendation source.public void setRecommendationSourceType(String recommendationSourceType)
The resource type of the recommendation source.
recommendationSourceType - The resource type of the recommendation source.RecommendationSourceTypepublic String getRecommendationSourceType()
The resource type of the recommendation source.
RecommendationSourceTypepublic RecommendationSource withRecommendationSourceType(String recommendationSourceType)
The resource type of the recommendation source.
recommendationSourceType - The resource type of the recommendation source.RecommendationSourceTypepublic RecommendationSource withRecommendationSourceType(RecommendationSourceType recommendationSourceType)
The resource type of the recommendation source.
recommendationSourceType - The resource type of the recommendation source.RecommendationSourceTypepublic String toString()
toString in class ObjectObject.toString()public RecommendationSource clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.