@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateRecommendationStatusRequestEntry extends Object implements Serializable, Cloneable, StructuredPojo
Defines the operational recommendation item that is to be included or excluded.
Constructor and Description |
---|
UpdateRecommendationStatusRequestEntry() |
Modifier and Type | Method and Description |
---|---|
UpdateRecommendationStatusRequestEntry |
clone() |
boolean |
equals(Object obj) |
String |
getEntryId()
An identifier for an entry in this batch that is used to communicate the result.
|
Boolean |
getExcluded()
Indicates if the operational recommendation needs to be excluded.
|
String |
getExcludeReason()
Indicates the reason for excluding an operational recommendation.
|
UpdateRecommendationStatusItem |
getItem()
The operational recommendation item.
|
String |
getReferenceId()
Reference identifier of the operational recommendation item.
|
int |
hashCode() |
Boolean |
isExcluded()
Indicates if the operational recommendation needs to be excluded.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setEntryId(String entryId)
An identifier for an entry in this batch that is used to communicate the result.
|
void |
setExcluded(Boolean excluded)
Indicates if the operational recommendation needs to be excluded.
|
void |
setExcludeReason(String excludeReason)
Indicates the reason for excluding an operational recommendation.
|
void |
setItem(UpdateRecommendationStatusItem item)
The operational recommendation item.
|
void |
setReferenceId(String referenceId)
Reference identifier of the operational recommendation item.
|
String |
toString()
Returns a string representation of this object.
|
UpdateRecommendationStatusRequestEntry |
withEntryId(String entryId)
An identifier for an entry in this batch that is used to communicate the result.
|
UpdateRecommendationStatusRequestEntry |
withExcluded(Boolean excluded)
Indicates if the operational recommendation needs to be excluded.
|
UpdateRecommendationStatusRequestEntry |
withExcludeReason(ExcludeRecommendationReason excludeReason)
Indicates the reason for excluding an operational recommendation.
|
UpdateRecommendationStatusRequestEntry |
withExcludeReason(String excludeReason)
Indicates the reason for excluding an operational recommendation.
|
UpdateRecommendationStatusRequestEntry |
withItem(UpdateRecommendationStatusItem item)
The operational recommendation item.
|
UpdateRecommendationStatusRequestEntry |
withReferenceId(String referenceId)
Reference identifier of the operational recommendation item.
|
public UpdateRecommendationStatusRequestEntry()
public void setEntryId(String entryId)
An identifier for an entry in this batch that is used to communicate the result.
The entryId
s of a batch request need to be unique within a request.
entryId
- An identifier for an entry in this batch that is used to communicate the result.
The entryId
s of a batch request need to be unique within a request.
public String getEntryId()
An identifier for an entry in this batch that is used to communicate the result.
The entryId
s of a batch request need to be unique within a request.
The entryId
s of a batch request need to be unique within a request.
public UpdateRecommendationStatusRequestEntry withEntryId(String entryId)
An identifier for an entry in this batch that is used to communicate the result.
The entryId
s of a batch request need to be unique within a request.
entryId
- An identifier for an entry in this batch that is used to communicate the result.
The entryId
s of a batch request need to be unique within a request.
public void setExcludeReason(String excludeReason)
Indicates the reason for excluding an operational recommendation.
excludeReason
- Indicates the reason for excluding an operational recommendation.ExcludeRecommendationReason
public String getExcludeReason()
Indicates the reason for excluding an operational recommendation.
ExcludeRecommendationReason
public UpdateRecommendationStatusRequestEntry withExcludeReason(String excludeReason)
Indicates the reason for excluding an operational recommendation.
excludeReason
- Indicates the reason for excluding an operational recommendation.ExcludeRecommendationReason
public UpdateRecommendationStatusRequestEntry withExcludeReason(ExcludeRecommendationReason excludeReason)
Indicates the reason for excluding an operational recommendation.
excludeReason
- Indicates the reason for excluding an operational recommendation.ExcludeRecommendationReason
public void setExcluded(Boolean excluded)
Indicates if the operational recommendation needs to be excluded. If set to True, the operational recommendation will be excluded.
excluded
- Indicates if the operational recommendation needs to be excluded. If set to True, the operational
recommendation will be excluded.public Boolean getExcluded()
Indicates if the operational recommendation needs to be excluded. If set to True, the operational recommendation will be excluded.
public UpdateRecommendationStatusRequestEntry withExcluded(Boolean excluded)
Indicates if the operational recommendation needs to be excluded. If set to True, the operational recommendation will be excluded.
excluded
- Indicates if the operational recommendation needs to be excluded. If set to True, the operational
recommendation will be excluded.public Boolean isExcluded()
Indicates if the operational recommendation needs to be excluded. If set to True, the operational recommendation will be excluded.
public void setItem(UpdateRecommendationStatusItem item)
The operational recommendation item.
item
- The operational recommendation item.public UpdateRecommendationStatusItem getItem()
The operational recommendation item.
public UpdateRecommendationStatusRequestEntry withItem(UpdateRecommendationStatusItem item)
The operational recommendation item.
item
- The operational recommendation item.public void setReferenceId(String referenceId)
Reference identifier of the operational recommendation item.
referenceId
- Reference identifier of the operational recommendation item.public String getReferenceId()
Reference identifier of the operational recommendation item.
public UpdateRecommendationStatusRequestEntry withReferenceId(String referenceId)
Reference identifier of the operational recommendation item.
referenceId
- Reference identifier of the operational recommendation item.public String toString()
toString
in class Object
Object.toString()
public UpdateRecommendationStatusRequestEntry clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.