@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RecommendationResourceSummary extends Object implements Serializable, Cloneable, StructuredPojo
Summary of a Recommendation Resource
Constructor and Description |
---|
RecommendationResourceSummary() |
Modifier and Type | Method and Description |
---|---|
RecommendationResourceSummary |
addMetadataEntry(String key,
String value)
Add a single Metadata entry
|
RecommendationResourceSummary |
clearMetadataEntries()
Removes all the entries added into Metadata.
|
RecommendationResourceSummary |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The ARN of the Recommendation Resource
|
String |
getAwsResourceId()
The AWS resource identifier
|
String |
getId()
The ID of the Recommendation Resource
|
Date |
getLastUpdatedAt()
When the Recommendation Resource was last updated
|
Map<String,String> |
getMetadata()
Metadata associated with the Recommendation Resource
|
String |
getRecommendationArn()
The Recommendation ARN
|
String |
getRegionCode()
The AWS Region code that the Recommendation Resource is in
|
String |
getStatus()
The current status of the Recommendation Resource
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setArn(String arn)
The ARN of the Recommendation Resource
|
void |
setAwsResourceId(String awsResourceId)
The AWS resource identifier
|
void |
setId(String id)
The ID of the Recommendation Resource
|
void |
setLastUpdatedAt(Date lastUpdatedAt)
When the Recommendation Resource was last updated
|
void |
setMetadata(Map<String,String> metadata)
Metadata associated with the Recommendation Resource
|
void |
setRecommendationArn(String recommendationArn)
The Recommendation ARN
|
void |
setRegionCode(String regionCode)
The AWS Region code that the Recommendation Resource is in
|
void |
setStatus(String status)
The current status of the Recommendation Resource
|
String |
toString()
Returns a string representation of this object.
|
RecommendationResourceSummary |
withArn(String arn)
The ARN of the Recommendation Resource
|
RecommendationResourceSummary |
withAwsResourceId(String awsResourceId)
The AWS resource identifier
|
RecommendationResourceSummary |
withId(String id)
The ID of the Recommendation Resource
|
RecommendationResourceSummary |
withLastUpdatedAt(Date lastUpdatedAt)
When the Recommendation Resource was last updated
|
RecommendationResourceSummary |
withMetadata(Map<String,String> metadata)
Metadata associated with the Recommendation Resource
|
RecommendationResourceSummary |
withRecommendationArn(String recommendationArn)
The Recommendation ARN
|
RecommendationResourceSummary |
withRegionCode(String regionCode)
The AWS Region code that the Recommendation Resource is in
|
RecommendationResourceSummary |
withStatus(ResourceStatus status)
The current status of the Recommendation Resource
|
RecommendationResourceSummary |
withStatus(String status)
The current status of the Recommendation Resource
|
public void setArn(String arn)
The ARN of the Recommendation Resource
arn
- The ARN of the Recommendation Resourcepublic String getArn()
The ARN of the Recommendation Resource
public RecommendationResourceSummary withArn(String arn)
The ARN of the Recommendation Resource
arn
- The ARN of the Recommendation Resourcepublic void setAwsResourceId(String awsResourceId)
The AWS resource identifier
awsResourceId
- The AWS resource identifierpublic String getAwsResourceId()
The AWS resource identifier
public RecommendationResourceSummary withAwsResourceId(String awsResourceId)
The AWS resource identifier
awsResourceId
- The AWS resource identifierpublic void setId(String id)
The ID of the Recommendation Resource
id
- The ID of the Recommendation Resourcepublic String getId()
The ID of the Recommendation Resource
public RecommendationResourceSummary withId(String id)
The ID of the Recommendation Resource
id
- The ID of the Recommendation Resourcepublic void setLastUpdatedAt(Date lastUpdatedAt)
When the Recommendation Resource was last updated
lastUpdatedAt
- When the Recommendation Resource was last updatedpublic Date getLastUpdatedAt()
When the Recommendation Resource was last updated
public RecommendationResourceSummary withLastUpdatedAt(Date lastUpdatedAt)
When the Recommendation Resource was last updated
lastUpdatedAt
- When the Recommendation Resource was last updatedpublic Map<String,String> getMetadata()
Metadata associated with the Recommendation Resource
public void setMetadata(Map<String,String> metadata)
Metadata associated with the Recommendation Resource
metadata
- Metadata associated with the Recommendation Resourcepublic RecommendationResourceSummary withMetadata(Map<String,String> metadata)
Metadata associated with the Recommendation Resource
metadata
- Metadata associated with the Recommendation Resourcepublic RecommendationResourceSummary addMetadataEntry(String key, String value)
public RecommendationResourceSummary clearMetadataEntries()
public void setRecommendationArn(String recommendationArn)
The Recommendation ARN
recommendationArn
- The Recommendation ARNpublic String getRecommendationArn()
The Recommendation ARN
public RecommendationResourceSummary withRecommendationArn(String recommendationArn)
The Recommendation ARN
recommendationArn
- The Recommendation ARNpublic void setRegionCode(String regionCode)
The AWS Region code that the Recommendation Resource is in
regionCode
- The AWS Region code that the Recommendation Resource is inpublic String getRegionCode()
The AWS Region code that the Recommendation Resource is in
public RecommendationResourceSummary withRegionCode(String regionCode)
The AWS Region code that the Recommendation Resource is in
regionCode
- The AWS Region code that the Recommendation Resource is inpublic void setStatus(String status)
The current status of the Recommendation Resource
status
- The current status of the Recommendation ResourceResourceStatus
public String getStatus()
The current status of the Recommendation Resource
ResourceStatus
public RecommendationResourceSummary withStatus(String status)
The current status of the Recommendation Resource
status
- The current status of the Recommendation ResourceResourceStatus
public RecommendationResourceSummary withStatus(ResourceStatus status)
The current status of the Recommendation Resource
status
- The current status of the Recommendation ResourceResourceStatus
public String toString()
toString
in class Object
Object.toString()
public RecommendationResourceSummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.