All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.amazonaws.services.appsync.model.DisassociateMergedGraphqlApiRequest Maven / Gradle / Ivy

Go to download

The AWS Java SDK for AWS AppSync module holds the client classes that are used for communicating with AWS AppSync Service

There is a newer version: 1.12.780
Show newest version
/*
 * Copyright 2019-2024 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.appsync.model;

import java.io.Serializable;
import javax.annotation.Generated;

import com.amazonaws.AmazonWebServiceRequest;

/**
 * 
 * @see AWS API Documentation
 */
@Generated("com.amazonaws:aws-java-sdk-code-generator")
public class DisassociateMergedGraphqlApiRequest extends com.amazonaws.AmazonWebServiceRequest implements Serializable, Cloneable {

    /**
     * 

* The identifier of the AppSync Source API. This is generated by the AppSync service. In most cases, source APIs * (especially in your account) only require the API ID value or ARN of the source API. However, source APIs from * other accounts (cross-account use cases) strictly require the full resource ARN of the source API. *

*/ private String sourceApiIdentifier; /** *

* The ID generated by the AppSync service for the source API association. *

*/ private String associationId; /** *

* The identifier of the AppSync Source API. This is generated by the AppSync service. In most cases, source APIs * (especially in your account) only require the API ID value or ARN of the source API. However, source APIs from * other accounts (cross-account use cases) strictly require the full resource ARN of the source API. *

* * @param sourceApiIdentifier * The identifier of the AppSync Source API. This is generated by the AppSync service. In most cases, source * APIs (especially in your account) only require the API ID value or ARN of the source API. However, source * APIs from other accounts (cross-account use cases) strictly require the full resource ARN of the source * API. */ public void setSourceApiIdentifier(String sourceApiIdentifier) { this.sourceApiIdentifier = sourceApiIdentifier; } /** *

* The identifier of the AppSync Source API. This is generated by the AppSync service. In most cases, source APIs * (especially in your account) only require the API ID value or ARN of the source API. However, source APIs from * other accounts (cross-account use cases) strictly require the full resource ARN of the source API. *

* * @return The identifier of the AppSync Source API. This is generated by the AppSync service. In most cases, source * APIs (especially in your account) only require the API ID value or ARN of the source API. However, source * APIs from other accounts (cross-account use cases) strictly require the full resource ARN of the source * API. */ public String getSourceApiIdentifier() { return this.sourceApiIdentifier; } /** *

* The identifier of the AppSync Source API. This is generated by the AppSync service. In most cases, source APIs * (especially in your account) only require the API ID value or ARN of the source API. However, source APIs from * other accounts (cross-account use cases) strictly require the full resource ARN of the source API. *

* * @param sourceApiIdentifier * The identifier of the AppSync Source API. This is generated by the AppSync service. In most cases, source * APIs (especially in your account) only require the API ID value or ARN of the source API. However, source * APIs from other accounts (cross-account use cases) strictly require the full resource ARN of the source * API. * @return Returns a reference to this object so that method calls can be chained together. */ public DisassociateMergedGraphqlApiRequest withSourceApiIdentifier(String sourceApiIdentifier) { setSourceApiIdentifier(sourceApiIdentifier); return this; } /** *

* The ID generated by the AppSync service for the source API association. *

* * @param associationId * The ID generated by the AppSync service for the source API association. */ public void setAssociationId(String associationId) { this.associationId = associationId; } /** *

* The ID generated by the AppSync service for the source API association. *

* * @return The ID generated by the AppSync service for the source API association. */ public String getAssociationId() { return this.associationId; } /** *

* The ID generated by the AppSync service for the source API association. *

* * @param associationId * The ID generated by the AppSync service for the source API association. * @return Returns a reference to this object so that method calls can be chained together. */ public DisassociateMergedGraphqlApiRequest withAssociationId(String associationId) { setAssociationId(associationId); return this; } /** * Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be * redacted from this string using a placeholder value. * * @return A string representation of this object. * * @see java.lang.Object#toString() */ @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append("{"); if (getSourceApiIdentifier() != null) sb.append("SourceApiIdentifier: ").append(getSourceApiIdentifier()).append(","); if (getAssociationId() != null) sb.append("AssociationId: ").append(getAssociationId()); sb.append("}"); return sb.toString(); } @Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof DisassociateMergedGraphqlApiRequest == false) return false; DisassociateMergedGraphqlApiRequest other = (DisassociateMergedGraphqlApiRequest) obj; if (other.getSourceApiIdentifier() == null ^ this.getSourceApiIdentifier() == null) return false; if (other.getSourceApiIdentifier() != null && other.getSourceApiIdentifier().equals(this.getSourceApiIdentifier()) == false) return false; if (other.getAssociationId() == null ^ this.getAssociationId() == null) return false; if (other.getAssociationId() != null && other.getAssociationId().equals(this.getAssociationId()) == false) return false; return true; } @Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getSourceApiIdentifier() == null) ? 0 : getSourceApiIdentifier().hashCode()); hashCode = prime * hashCode + ((getAssociationId() == null) ? 0 : getAssociationId().hashCode()); return hashCode; } @Override public DisassociateMergedGraphqlApiRequest clone() { return (DisassociateMergedGraphqlApiRequest) super.clone(); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy