/* * 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.connectwisdom.model; import java.io.Serializable; import javax.annotation.Generated; import com.amazonaws.protocol.StructuredPojo; import com.amazonaws.protocol.ProtocolMarshaller; /** *
* Summary information about the assistant association. *
* * @see AWS * API Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class AssistantAssociationSummary implements Serializable, Cloneable, StructuredPojo { /** ** The Amazon Resource Name (ARN) of the Wisdom assistant. *
*/ private String assistantArn; /** ** The Amazon Resource Name (ARN) of the assistant association. *
*/ private String assistantAssociationArn; /** ** The identifier of the assistant association. *
*/ private String assistantAssociationId; /** ** The identifier of the Wisdom assistant. *
*/ private String assistantId; /** ** The association data. *
*/ private AssistantAssociationOutputData associationData; /** ** The type of association. *
*/ private String associationType; /** ** The tags used to organize, track, or control access for this resource. *
*/ private java.util.Map* The Amazon Resource Name (ARN) of the Wisdom assistant. *
* * @param assistantArn * The Amazon Resource Name (ARN) of the Wisdom assistant. */ public void setAssistantArn(String assistantArn) { this.assistantArn = assistantArn; } /** ** The Amazon Resource Name (ARN) of the Wisdom assistant. *
* * @return The Amazon Resource Name (ARN) of the Wisdom assistant. */ public String getAssistantArn() { return this.assistantArn; } /** ** The Amazon Resource Name (ARN) of the Wisdom assistant. *
* * @param assistantArn * The Amazon Resource Name (ARN) of the Wisdom assistant. * @return Returns a reference to this object so that method calls can be chained together. */ public AssistantAssociationSummary withAssistantArn(String assistantArn) { setAssistantArn(assistantArn); return this; } /** ** The Amazon Resource Name (ARN) of the assistant association. *
* * @param assistantAssociationArn * The Amazon Resource Name (ARN) of the assistant association. */ public void setAssistantAssociationArn(String assistantAssociationArn) { this.assistantAssociationArn = assistantAssociationArn; } /** ** The Amazon Resource Name (ARN) of the assistant association. *
* * @return The Amazon Resource Name (ARN) of the assistant association. */ public String getAssistantAssociationArn() { return this.assistantAssociationArn; } /** ** The Amazon Resource Name (ARN) of the assistant association. *
* * @param assistantAssociationArn * The Amazon Resource Name (ARN) of the assistant association. * @return Returns a reference to this object so that method calls can be chained together. */ public AssistantAssociationSummary withAssistantAssociationArn(String assistantAssociationArn) { setAssistantAssociationArn(assistantAssociationArn); return this; } /** ** The identifier of the assistant association. *
* * @param assistantAssociationId * The identifier of the assistant association. */ public void setAssistantAssociationId(String assistantAssociationId) { this.assistantAssociationId = assistantAssociationId; } /** ** The identifier of the assistant association. *
* * @return The identifier of the assistant association. */ public String getAssistantAssociationId() { return this.assistantAssociationId; } /** ** The identifier of the assistant association. *
* * @param assistantAssociationId * The identifier of the assistant association. * @return Returns a reference to this object so that method calls can be chained together. */ public AssistantAssociationSummary withAssistantAssociationId(String assistantAssociationId) { setAssistantAssociationId(assistantAssociationId); return this; } /** ** The identifier of the Wisdom assistant. *
* * @param assistantId * The identifier of the Wisdom assistant. */ public void setAssistantId(String assistantId) { this.assistantId = assistantId; } /** ** The identifier of the Wisdom assistant. *
* * @return The identifier of the Wisdom assistant. */ public String getAssistantId() { return this.assistantId; } /** ** The identifier of the Wisdom assistant. *
* * @param assistantId * The identifier of the Wisdom assistant. * @return Returns a reference to this object so that method calls can be chained together. */ public AssistantAssociationSummary withAssistantId(String assistantId) { setAssistantId(assistantId); return this; } /** ** The association data. *
* * @param associationData * The association data. */ public void setAssociationData(AssistantAssociationOutputData associationData) { this.associationData = associationData; } /** ** The association data. *
* * @return The association data. */ public AssistantAssociationOutputData getAssociationData() { return this.associationData; } /** ** The association data. *
* * @param associationData * The association data. * @return Returns a reference to this object so that method calls can be chained together. */ public AssistantAssociationSummary withAssociationData(AssistantAssociationOutputData associationData) { setAssociationData(associationData); return this; } /** ** The type of association. *
* * @param associationType * The type of association. * @see AssociationType */ public void setAssociationType(String associationType) { this.associationType = associationType; } /** ** The type of association. *
* * @return The type of association. * @see AssociationType */ public String getAssociationType() { return this.associationType; } /** ** The type of association. *
* * @param associationType * The type of association. * @return Returns a reference to this object so that method calls can be chained together. * @see AssociationType */ public AssistantAssociationSummary withAssociationType(String associationType) { setAssociationType(associationType); return this; } /** ** The type of association. *
* * @param associationType * The type of association. * @return Returns a reference to this object so that method calls can be chained together. * @see AssociationType */ public AssistantAssociationSummary withAssociationType(AssociationType associationType) { this.associationType = associationType.toString(); return this; } /** ** The tags used to organize, track, or control access for this resource. *
* * @return The tags used to organize, track, or control access for this resource. */ public java.util.Map* The tags used to organize, track, or control access for this resource. *
* * @param tags * The tags used to organize, track, or control access for this resource. */ public void setTags(java.util.Map* The tags used to organize, track, or control access for this resource. *
* * @param tags * The tags used to organize, track, or control access for this resource. * @return Returns a reference to this object so that method calls can be chained together. */ public AssistantAssociationSummary withTags(java.util.Map