/* * 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.simplesystemsmanagement.model; import java.io.Serializable; import javax.annotation.Generated; import com.amazonaws.protocol.StructuredPojo; import com.amazonaws.protocol.ProtocolMarshaller; /** *
* Information about the association. *
* * @see AWS API * Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class AssociationOverview implements Serializable, Cloneable, StructuredPojo { /** ** The status of the association. Status can be: Pending, Success, or Failed. *
*/ private String status; /** ** A detailed status of the association. *
*/ private String detailedStatus; /** ** Returns the number of targets for the association status. For example, if you created an association with two * managed nodes, and one of them was successful, this would return the count of managed nodes by status. *
*/ private java.util.Map* The status of the association. Status can be: Pending, Success, or Failed. *
* * @param status * The status of the association. Status can be: Pending, Success, or Failed. */ public void setStatus(String status) { this.status = status; } /** ** The status of the association. Status can be: Pending, Success, or Failed. *
* * @return The status of the association. Status can be: Pending, Success, or Failed. */ public String getStatus() { return this.status; } /** ** The status of the association. Status can be: Pending, Success, or Failed. *
* * @param status * The status of the association. Status can be: Pending, Success, or Failed. * @return Returns a reference to this object so that method calls can be chained together. */ public AssociationOverview withStatus(String status) { setStatus(status); return this; } /** ** A detailed status of the association. *
* * @param detailedStatus * A detailed status of the association. */ public void setDetailedStatus(String detailedStatus) { this.detailedStatus = detailedStatus; } /** ** A detailed status of the association. *
* * @return A detailed status of the association. */ public String getDetailedStatus() { return this.detailedStatus; } /** ** A detailed status of the association. *
* * @param detailedStatus * A detailed status of the association. * @return Returns a reference to this object so that method calls can be chained together. */ public AssociationOverview withDetailedStatus(String detailedStatus) { setDetailedStatus(detailedStatus); return this; } /** ** Returns the number of targets for the association status. For example, if you created an association with two * managed nodes, and one of them was successful, this would return the count of managed nodes by status. *
* * @return Returns the number of targets for the association status. For example, if you created an association with * two managed nodes, and one of them was successful, this would return the count of managed nodes by * status. */ public java.util.Map* Returns the number of targets for the association status. For example, if you created an association with two * managed nodes, and one of them was successful, this would return the count of managed nodes by status. *
* * @param associationStatusAggregatedCount * Returns the number of targets for the association status. For example, if you created an association with * two managed nodes, and one of them was successful, this would return the count of managed nodes by status. */ public void setAssociationStatusAggregatedCount(java.util.Map* Returns the number of targets for the association status. For example, if you created an association with two * managed nodes, and one of them was successful, this would return the count of managed nodes by status. *
* * @param associationStatusAggregatedCount * Returns the number of targets for the association status. For example, if you created an association with * two managed nodes, and one of them was successful, this would return the count of managed nodes by status. * @return Returns a reference to this object so that method calls can be chained together. */ public AssociationOverview withAssociationStatusAggregatedCount(java.util.Map