/* * Copyright 2018-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions * and limitations under the License. */ package com.amazonaws.services.wellarchitected.model; import java.io.Serializable; import javax.annotation.Generated; import com.amazonaws.protocol.StructuredPojo; import com.amazonaws.protocol.ProtocolMarshaller; /** *
* Trusted Advisor check summary. *
* * @see AWS API * Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class CheckSummary implements Serializable, Cloneable, StructuredPojo { /** ** Trusted Advisor check ID. *
*/ private String id; /** ** Trusted Advisor check name. *
*/ private String name; /** ** Provider of the check related to the best practice. *
*/ private String provider; /** ** Trusted Advisor check description. *
*/ private String description; private java.util.Date updatedAt; /** ** Well-Architected Lens ARN associated to the check. *
*/ private String lensArn; private String pillarId; private String questionId; private String choiceId; /** ** Status associated to the check. *
*/ private String status; /** ** Account summary associated to the check. *
*/ private java.util.Map* Trusted Advisor check ID. *
* * @param id * Trusted Advisor check ID. */ public void setId(String id) { this.id = id; } /** ** Trusted Advisor check ID. *
* * @return Trusted Advisor check ID. */ public String getId() { return this.id; } /** ** Trusted Advisor check ID. *
* * @param id * Trusted Advisor check ID. * @return Returns a reference to this object so that method calls can be chained together. */ public CheckSummary withId(String id) { setId(id); return this; } /** ** Trusted Advisor check name. *
* * @param name * Trusted Advisor check name. */ public void setName(String name) { this.name = name; } /** ** Trusted Advisor check name. *
* * @return Trusted Advisor check name. */ public String getName() { return this.name; } /** ** Trusted Advisor check name. *
* * @param name * Trusted Advisor check name. * @return Returns a reference to this object so that method calls can be chained together. */ public CheckSummary withName(String name) { setName(name); return this; } /** ** Provider of the check related to the best practice. *
* * @param provider * Provider of the check related to the best practice. * @see CheckProvider */ public void setProvider(String provider) { this.provider = provider; } /** ** Provider of the check related to the best practice. *
* * @return Provider of the check related to the best practice. * @see CheckProvider */ public String getProvider() { return this.provider; } /** ** Provider of the check related to the best practice. *
* * @param provider * Provider of the check related to the best practice. * @return Returns a reference to this object so that method calls can be chained together. * @see CheckProvider */ public CheckSummary withProvider(String provider) { setProvider(provider); return this; } /** ** Provider of the check related to the best practice. *
* * @param provider * Provider of the check related to the best practice. * @return Returns a reference to this object so that method calls can be chained together. * @see CheckProvider */ public CheckSummary withProvider(CheckProvider provider) { this.provider = provider.toString(); return this; } /** ** Trusted Advisor check description. *
* * @param description * Trusted Advisor check description. */ public void setDescription(String description) { this.description = description; } /** ** Trusted Advisor check description. *
* * @return Trusted Advisor check description. */ public String getDescription() { return this.description; } /** ** Trusted Advisor check description. *
* * @param description * Trusted Advisor check description. * @return Returns a reference to this object so that method calls can be chained together. */ public CheckSummary withDescription(String description) { setDescription(description); return this; } /** * @param updatedAt */ public void setUpdatedAt(java.util.Date updatedAt) { this.updatedAt = updatedAt; } /** * @return */ public java.util.Date getUpdatedAt() { return this.updatedAt; } /** * @param updatedAt * @return Returns a reference to this object so that method calls can be chained together. */ public CheckSummary withUpdatedAt(java.util.Date updatedAt) { setUpdatedAt(updatedAt); return this; } /** ** Well-Architected Lens ARN associated to the check. *
* * @param lensArn * Well-Architected Lens ARN associated to the check. */ public void setLensArn(String lensArn) { this.lensArn = lensArn; } /** ** Well-Architected Lens ARN associated to the check. *
* * @return Well-Architected Lens ARN associated to the check. */ public String getLensArn() { return this.lensArn; } /** ** Well-Architected Lens ARN associated to the check. *
* * @param lensArn * Well-Architected Lens ARN associated to the check. * @return Returns a reference to this object so that method calls can be chained together. */ public CheckSummary withLensArn(String lensArn) { setLensArn(lensArn); return this; } /** * @param pillarId */ public void setPillarId(String pillarId) { this.pillarId = pillarId; } /** * @return */ public String getPillarId() { return this.pillarId; } /** * @param pillarId * @return Returns a reference to this object so that method calls can be chained together. */ public CheckSummary withPillarId(String pillarId) { setPillarId(pillarId); return this; } /** * @param questionId */ public void setQuestionId(String questionId) { this.questionId = questionId; } /** * @return */ public String getQuestionId() { return this.questionId; } /** * @param questionId * @return Returns a reference to this object so that method calls can be chained together. */ public CheckSummary withQuestionId(String questionId) { setQuestionId(questionId); return this; } /** * @param choiceId */ public void setChoiceId(String choiceId) { this.choiceId = choiceId; } /** * @return */ public String getChoiceId() { return this.choiceId; } /** * @param choiceId * @return Returns a reference to this object so that method calls can be chained together. */ public CheckSummary withChoiceId(String choiceId) { setChoiceId(choiceId); return this; } /** ** Status associated to the check. *
* * @param status * Status associated to the check. * @see CheckStatus */ public void setStatus(String status) { this.status = status; } /** ** Status associated to the check. *
* * @return Status associated to the check. * @see CheckStatus */ public String getStatus() { return this.status; } /** ** Status associated to the check. *
* * @param status * Status associated to the check. * @return Returns a reference to this object so that method calls can be chained together. * @see CheckStatus */ public CheckSummary withStatus(String status) { setStatus(status); return this; } /** ** Status associated to the check. *
* * @param status * Status associated to the check. * @return Returns a reference to this object so that method calls can be chained together. * @see CheckStatus */ public CheckSummary withStatus(CheckStatus status) { this.status = status.toString(); return this; } /** ** Account summary associated to the check. *
* * @return Account summary associated to the check. */ public java.util.Map* Account summary associated to the check. *
* * @param accountSummary * Account summary associated to the check. */ public void setAccountSummary(java.util.Map* Account summary associated to the check. *
* * @param accountSummary * Account summary associated to the check. * @return Returns a reference to this object so that method calls can be chained together. */ public CheckSummary withAccountSummary(java.util.Map