@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetFindingRecommendationResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetFindingRecommendationResult() |
Modifier and Type | Method and Description |
---|---|
GetFindingRecommendationResult |
clone() |
boolean |
equals(Object obj) |
Date |
getCompletedAt()
The time at which the retrieval of the finding recommendation was completed.
|
RecommendationError |
getError()
Detailed information about the reason that the retrieval of a recommendation for the finding failed.
|
String |
getNextToken()
A token used for pagination of results returned.
|
String |
getRecommendationType()
The type of recommendation for the finding.
|
List<RecommendedStep> |
getRecommendedSteps()
A group of recommended steps for the finding.
|
String |
getResourceArn()
The ARN of the resource of the finding.
|
Date |
getStartedAt()
The time at which the retrieval of the finding recommendation was started.
|
String |
getStatus()
The status of the retrieval of the finding recommendation.
|
int |
hashCode() |
void |
setCompletedAt(Date completedAt)
The time at which the retrieval of the finding recommendation was completed.
|
void |
setError(RecommendationError error)
Detailed information about the reason that the retrieval of a recommendation for the finding failed.
|
void |
setNextToken(String nextToken)
A token used for pagination of results returned.
|
void |
setRecommendationType(String recommendationType)
The type of recommendation for the finding.
|
void |
setRecommendedSteps(Collection<RecommendedStep> recommendedSteps)
A group of recommended steps for the finding.
|
void |
setResourceArn(String resourceArn)
The ARN of the resource of the finding.
|
void |
setStartedAt(Date startedAt)
The time at which the retrieval of the finding recommendation was started.
|
void |
setStatus(String status)
The status of the retrieval of the finding recommendation.
|
String |
toString()
Returns a string representation of this object.
|
GetFindingRecommendationResult |
withCompletedAt(Date completedAt)
The time at which the retrieval of the finding recommendation was completed.
|
GetFindingRecommendationResult |
withError(RecommendationError error)
Detailed information about the reason that the retrieval of a recommendation for the finding failed.
|
GetFindingRecommendationResult |
withNextToken(String nextToken)
A token used for pagination of results returned.
|
GetFindingRecommendationResult |
withRecommendationType(RecommendationType recommendationType)
The type of recommendation for the finding.
|
GetFindingRecommendationResult |
withRecommendationType(String recommendationType)
The type of recommendation for the finding.
|
GetFindingRecommendationResult |
withRecommendedSteps(Collection<RecommendedStep> recommendedSteps)
A group of recommended steps for the finding.
|
GetFindingRecommendationResult |
withRecommendedSteps(RecommendedStep... recommendedSteps)
A group of recommended steps for the finding.
|
GetFindingRecommendationResult |
withResourceArn(String resourceArn)
The ARN of the resource of the finding.
|
GetFindingRecommendationResult |
withStartedAt(Date startedAt)
The time at which the retrieval of the finding recommendation was started.
|
GetFindingRecommendationResult |
withStatus(Status status)
The status of the retrieval of the finding recommendation.
|
GetFindingRecommendationResult |
withStatus(String status)
The status of the retrieval of the finding recommendation.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setStartedAt(Date startedAt)
The time at which the retrieval of the finding recommendation was started.
startedAt
- The time at which the retrieval of the finding recommendation was started.public Date getStartedAt()
The time at which the retrieval of the finding recommendation was started.
public GetFindingRecommendationResult withStartedAt(Date startedAt)
The time at which the retrieval of the finding recommendation was started.
startedAt
- The time at which the retrieval of the finding recommendation was started.public void setCompletedAt(Date completedAt)
The time at which the retrieval of the finding recommendation was completed.
completedAt
- The time at which the retrieval of the finding recommendation was completed.public Date getCompletedAt()
The time at which the retrieval of the finding recommendation was completed.
public GetFindingRecommendationResult withCompletedAt(Date completedAt)
The time at which the retrieval of the finding recommendation was completed.
completedAt
- The time at which the retrieval of the finding recommendation was completed.public void setNextToken(String nextToken)
A token used for pagination of results returned.
nextToken
- A token used for pagination of results returned.public String getNextToken()
A token used for pagination of results returned.
public GetFindingRecommendationResult withNextToken(String nextToken)
A token used for pagination of results returned.
nextToken
- A token used for pagination of results returned.public void setError(RecommendationError error)
Detailed information about the reason that the retrieval of a recommendation for the finding failed.
error
- Detailed information about the reason that the retrieval of a recommendation for the finding failed.public RecommendationError getError()
Detailed information about the reason that the retrieval of a recommendation for the finding failed.
public GetFindingRecommendationResult withError(RecommendationError error)
Detailed information about the reason that the retrieval of a recommendation for the finding failed.
error
- Detailed information about the reason that the retrieval of a recommendation for the finding failed.public void setResourceArn(String resourceArn)
The ARN of the resource of the finding.
resourceArn
- The ARN of the resource of the finding.public String getResourceArn()
The ARN of the resource of the finding.
public GetFindingRecommendationResult withResourceArn(String resourceArn)
The ARN of the resource of the finding.
resourceArn
- The ARN of the resource of the finding.public List<RecommendedStep> getRecommendedSteps()
A group of recommended steps for the finding.
public void setRecommendedSteps(Collection<RecommendedStep> recommendedSteps)
A group of recommended steps for the finding.
recommendedSteps
- A group of recommended steps for the finding.public GetFindingRecommendationResult withRecommendedSteps(RecommendedStep... recommendedSteps)
A group of recommended steps for the finding.
NOTE: This method appends the values to the existing list (if any). Use
setRecommendedSteps(java.util.Collection)
or withRecommendedSteps(java.util.Collection)
if you
want to override the existing values.
recommendedSteps
- A group of recommended steps for the finding.public GetFindingRecommendationResult withRecommendedSteps(Collection<RecommendedStep> recommendedSteps)
A group of recommended steps for the finding.
recommendedSteps
- A group of recommended steps for the finding.public void setRecommendationType(String recommendationType)
The type of recommendation for the finding.
recommendationType
- The type of recommendation for the finding.RecommendationType
public String getRecommendationType()
The type of recommendation for the finding.
RecommendationType
public GetFindingRecommendationResult withRecommendationType(String recommendationType)
The type of recommendation for the finding.
recommendationType
- The type of recommendation for the finding.RecommendationType
public GetFindingRecommendationResult withRecommendationType(RecommendationType recommendationType)
The type of recommendation for the finding.
recommendationType
- The type of recommendation for the finding.RecommendationType
public void setStatus(String status)
The status of the retrieval of the finding recommendation.
status
- The status of the retrieval of the finding recommendation.Status
public String getStatus()
The status of the retrieval of the finding recommendation.
Status
public GetFindingRecommendationResult withStatus(String status)
The status of the retrieval of the finding recommendation.
status
- The status of the retrieval of the finding recommendation.Status
public GetFindingRecommendationResult withStatus(Status status)
The status of the retrieval of the finding recommendation.
status
- The status of the retrieval of the finding recommendation.Status
public String toString()
toString
in class Object
Object.toString()
public GetFindingRecommendationResult clone()