/* * 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.appintegrations.model; import java.io.Serializable; import javax.annotation.Generated; import com.amazonaws.protocol.StructuredPojo; import com.amazonaws.protocol.ProtocolMarshaller; /** *
* The event integration association. *
* * @see AWS API Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class EventIntegrationAssociation implements Serializable, Cloneable, StructuredPojo { /** ** The Amazon Resource Name (ARN) for the event integration association. *
*/ private String eventIntegrationAssociationArn; /** ** The identifier for the event integration association. *
*/ private String eventIntegrationAssociationId; /** ** The name of the event integration. *
*/ private String eventIntegrationName; /** ** The identifier for the client that is associated with the event integration. *
*/ private String clientId; /** ** The name of the EventBridge rule. *
*/ private String eventBridgeRuleName; /** ** The metadata associated with the client. *
*/ private java.util.Map* The Amazon Resource Name (ARN) for the event integration association. *
* * @param eventIntegrationAssociationArn * The Amazon Resource Name (ARN) for the event integration association. */ public void setEventIntegrationAssociationArn(String eventIntegrationAssociationArn) { this.eventIntegrationAssociationArn = eventIntegrationAssociationArn; } /** ** The Amazon Resource Name (ARN) for the event integration association. *
* * @return The Amazon Resource Name (ARN) for the event integration association. */ public String getEventIntegrationAssociationArn() { return this.eventIntegrationAssociationArn; } /** ** The Amazon Resource Name (ARN) for the event integration association. *
* * @param eventIntegrationAssociationArn * The Amazon Resource Name (ARN) for the event integration association. * @return Returns a reference to this object so that method calls can be chained together. */ public EventIntegrationAssociation withEventIntegrationAssociationArn(String eventIntegrationAssociationArn) { setEventIntegrationAssociationArn(eventIntegrationAssociationArn); return this; } /** ** The identifier for the event integration association. *
* * @param eventIntegrationAssociationId * The identifier for the event integration association. */ public void setEventIntegrationAssociationId(String eventIntegrationAssociationId) { this.eventIntegrationAssociationId = eventIntegrationAssociationId; } /** ** The identifier for the event integration association. *
* * @return The identifier for the event integration association. */ public String getEventIntegrationAssociationId() { return this.eventIntegrationAssociationId; } /** ** The identifier for the event integration association. *
* * @param eventIntegrationAssociationId * The identifier for the event integration association. * @return Returns a reference to this object so that method calls can be chained together. */ public EventIntegrationAssociation withEventIntegrationAssociationId(String eventIntegrationAssociationId) { setEventIntegrationAssociationId(eventIntegrationAssociationId); return this; } /** ** The name of the event integration. *
* * @param eventIntegrationName * The name of the event integration. */ public void setEventIntegrationName(String eventIntegrationName) { this.eventIntegrationName = eventIntegrationName; } /** ** The name of the event integration. *
* * @return The name of the event integration. */ public String getEventIntegrationName() { return this.eventIntegrationName; } /** ** The name of the event integration. *
* * @param eventIntegrationName * The name of the event integration. * @return Returns a reference to this object so that method calls can be chained together. */ public EventIntegrationAssociation withEventIntegrationName(String eventIntegrationName) { setEventIntegrationName(eventIntegrationName); return this; } /** ** The identifier for the client that is associated with the event integration. *
* * @param clientId * The identifier for the client that is associated with the event integration. */ public void setClientId(String clientId) { this.clientId = clientId; } /** ** The identifier for the client that is associated with the event integration. *
* * @return The identifier for the client that is associated with the event integration. */ public String getClientId() { return this.clientId; } /** ** The identifier for the client that is associated with the event integration. *
* * @param clientId * The identifier for the client that is associated with the event integration. * @return Returns a reference to this object so that method calls can be chained together. */ public EventIntegrationAssociation withClientId(String clientId) { setClientId(clientId); return this; } /** ** The name of the EventBridge rule. *
* * @param eventBridgeRuleName * The name of the EventBridge rule. */ public void setEventBridgeRuleName(String eventBridgeRuleName) { this.eventBridgeRuleName = eventBridgeRuleName; } /** ** The name of the EventBridge rule. *
* * @return The name of the EventBridge rule. */ public String getEventBridgeRuleName() { return this.eventBridgeRuleName; } /** ** The name of the EventBridge rule. *
* * @param eventBridgeRuleName * The name of the EventBridge rule. * @return Returns a reference to this object so that method calls can be chained together. */ public EventIntegrationAssociation withEventBridgeRuleName(String eventBridgeRuleName) { setEventBridgeRuleName(eventBridgeRuleName); return this; } /** ** The metadata associated with the client. *
* * @return The metadata associated with the client. */ public java.util.Map* The metadata associated with the client. *
* * @param clientAssociationMetadata * The metadata associated with the client. */ public void setClientAssociationMetadata(java.util.Map* The metadata associated with the client. *
* * @param clientAssociationMetadata * The metadata associated with the client. * @return Returns a reference to this object so that method calls can be chained together. */ public EventIntegrationAssociation withClientAssociationMetadata(java.util.Map