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

com.amazonaws.services.servicecatalog.model.AssociateServiceActionWithProvisioningArtifactRequest Maven / Gradle / Ivy

Go to download

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

There is a newer version: 1.12.772
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.servicecatalog.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 AssociateServiceActionWithProvisioningArtifactRequest extends com.amazonaws.AmazonWebServiceRequest implements Serializable, Cloneable {

    /**
     * 

* The product identifier. For example, prod-abcdzk7xy33qa. *

*/ private String productId; /** *

* The identifier of the provisioning artifact. For example, pa-4abcdjnxjj6ne. *

*/ private String provisioningArtifactId; /** *

* The self-service action identifier. For example, act-fs7abcd89wxyz. *

*/ private String serviceActionId; /** *

* The language code. *

*
    *
  • *

    * jp - Japanese *

    *
  • *
  • *

    * zh - Chinese *

    *
  • *
*/ private String acceptLanguage; /** *

* A unique identifier that you provide to ensure idempotency. If multiple requests from the same Amazon Web * Services account use the same idempotency token, the same response is returned for each repeated request. *

*/ private String idempotencyToken; /** *

* The product identifier. For example, prod-abcdzk7xy33qa. *

* * @param productId * The product identifier. For example, prod-abcdzk7xy33qa. */ public void setProductId(String productId) { this.productId = productId; } /** *

* The product identifier. For example, prod-abcdzk7xy33qa. *

* * @return The product identifier. For example, prod-abcdzk7xy33qa. */ public String getProductId() { return this.productId; } /** *

* The product identifier. For example, prod-abcdzk7xy33qa. *

* * @param productId * The product identifier. For example, prod-abcdzk7xy33qa. * @return Returns a reference to this object so that method calls can be chained together. */ public AssociateServiceActionWithProvisioningArtifactRequest withProductId(String productId) { setProductId(productId); return this; } /** *

* The identifier of the provisioning artifact. For example, pa-4abcdjnxjj6ne. *

* * @param provisioningArtifactId * The identifier of the provisioning artifact. For example, pa-4abcdjnxjj6ne. */ public void setProvisioningArtifactId(String provisioningArtifactId) { this.provisioningArtifactId = provisioningArtifactId; } /** *

* The identifier of the provisioning artifact. For example, pa-4abcdjnxjj6ne. *

* * @return The identifier of the provisioning artifact. For example, pa-4abcdjnxjj6ne. */ public String getProvisioningArtifactId() { return this.provisioningArtifactId; } /** *

* The identifier of the provisioning artifact. For example, pa-4abcdjnxjj6ne. *

* * @param provisioningArtifactId * The identifier of the provisioning artifact. For example, pa-4abcdjnxjj6ne. * @return Returns a reference to this object so that method calls can be chained together. */ public AssociateServiceActionWithProvisioningArtifactRequest withProvisioningArtifactId(String provisioningArtifactId) { setProvisioningArtifactId(provisioningArtifactId); return this; } /** *

* The self-service action identifier. For example, act-fs7abcd89wxyz. *

* * @param serviceActionId * The self-service action identifier. For example, act-fs7abcd89wxyz. */ public void setServiceActionId(String serviceActionId) { this.serviceActionId = serviceActionId; } /** *

* The self-service action identifier. For example, act-fs7abcd89wxyz. *

* * @return The self-service action identifier. For example, act-fs7abcd89wxyz. */ public String getServiceActionId() { return this.serviceActionId; } /** *

* The self-service action identifier. For example, act-fs7abcd89wxyz. *

* * @param serviceActionId * The self-service action identifier. For example, act-fs7abcd89wxyz. * @return Returns a reference to this object so that method calls can be chained together. */ public AssociateServiceActionWithProvisioningArtifactRequest withServiceActionId(String serviceActionId) { setServiceActionId(serviceActionId); return this; } /** *

* The language code. *

*
    *
  • *

    * jp - Japanese *

    *
  • *
  • *

    * zh - Chinese *

    *
  • *
* * @param acceptLanguage * The language code.

*
    *
  • *

    * jp - Japanese *

    *
  • *
  • *

    * zh - Chinese *

    *
  • */ public void setAcceptLanguage(String acceptLanguage) { this.acceptLanguage = acceptLanguage; } /** *

    * The language code. *

    *
      *
    • *

      * jp - Japanese *

      *
    • *
    • *

      * zh - Chinese *

      *
    • *
    * * @return The language code.

    *
      *
    • *

      * jp - Japanese *

      *
    • *
    • *

      * zh - Chinese *

      *
    • */ public String getAcceptLanguage() { return this.acceptLanguage; } /** *

      * The language code. *

      *
        *
      • *

        * jp - Japanese *

        *
      • *
      • *

        * zh - Chinese *

        *
      • *
      * * @param acceptLanguage * The language code.

      *
        *
      • *

        * jp - Japanese *

        *
      • *
      • *

        * zh - Chinese *

        *
      • * @return Returns a reference to this object so that method calls can be chained together. */ public AssociateServiceActionWithProvisioningArtifactRequest withAcceptLanguage(String acceptLanguage) { setAcceptLanguage(acceptLanguage); return this; } /** *

        * A unique identifier that you provide to ensure idempotency. If multiple requests from the same Amazon Web * Services account use the same idempotency token, the same response is returned for each repeated request. *

        * * @param idempotencyToken * A unique identifier that you provide to ensure idempotency. If multiple requests from the same Amazon Web * Services account use the same idempotency token, the same response is returned for each repeated request. */ public void setIdempotencyToken(String idempotencyToken) { this.idempotencyToken = idempotencyToken; } /** *

        * A unique identifier that you provide to ensure idempotency. If multiple requests from the same Amazon Web * Services account use the same idempotency token, the same response is returned for each repeated request. *

        * * @return A unique identifier that you provide to ensure idempotency. If multiple requests from the same Amazon Web * Services account use the same idempotency token, the same response is returned for each repeated request. */ public String getIdempotencyToken() { return this.idempotencyToken; } /** *

        * A unique identifier that you provide to ensure idempotency. If multiple requests from the same Amazon Web * Services account use the same idempotency token, the same response is returned for each repeated request. *

        * * @param idempotencyToken * A unique identifier that you provide to ensure idempotency. If multiple requests from the same Amazon Web * Services account use the same idempotency token, the same response is returned for each repeated request. * @return Returns a reference to this object so that method calls can be chained together. */ public AssociateServiceActionWithProvisioningArtifactRequest withIdempotencyToken(String idempotencyToken) { setIdempotencyToken(idempotencyToken); 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 (getProductId() != null) sb.append("ProductId: ").append(getProductId()).append(","); if (getProvisioningArtifactId() != null) sb.append("ProvisioningArtifactId: ").append(getProvisioningArtifactId()).append(","); if (getServiceActionId() != null) sb.append("ServiceActionId: ").append(getServiceActionId()).append(","); if (getAcceptLanguage() != null) sb.append("AcceptLanguage: ").append(getAcceptLanguage()).append(","); if (getIdempotencyToken() != null) sb.append("IdempotencyToken: ").append(getIdempotencyToken()); sb.append("}"); return sb.toString(); } @Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof AssociateServiceActionWithProvisioningArtifactRequest == false) return false; AssociateServiceActionWithProvisioningArtifactRequest other = (AssociateServiceActionWithProvisioningArtifactRequest) obj; if (other.getProductId() == null ^ this.getProductId() == null) return false; if (other.getProductId() != null && other.getProductId().equals(this.getProductId()) == false) return false; if (other.getProvisioningArtifactId() == null ^ this.getProvisioningArtifactId() == null) return false; if (other.getProvisioningArtifactId() != null && other.getProvisioningArtifactId().equals(this.getProvisioningArtifactId()) == false) return false; if (other.getServiceActionId() == null ^ this.getServiceActionId() == null) return false; if (other.getServiceActionId() != null && other.getServiceActionId().equals(this.getServiceActionId()) == false) return false; if (other.getAcceptLanguage() == null ^ this.getAcceptLanguage() == null) return false; if (other.getAcceptLanguage() != null && other.getAcceptLanguage().equals(this.getAcceptLanguage()) == false) return false; if (other.getIdempotencyToken() == null ^ this.getIdempotencyToken() == null) return false; if (other.getIdempotencyToken() != null && other.getIdempotencyToken().equals(this.getIdempotencyToken()) == false) return false; return true; } @Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getProductId() == null) ? 0 : getProductId().hashCode()); hashCode = prime * hashCode + ((getProvisioningArtifactId() == null) ? 0 : getProvisioningArtifactId().hashCode()); hashCode = prime * hashCode + ((getServiceActionId() == null) ? 0 : getServiceActionId().hashCode()); hashCode = prime * hashCode + ((getAcceptLanguage() == null) ? 0 : getAcceptLanguage().hashCode()); hashCode = prime * hashCode + ((getIdempotencyToken() == null) ? 0 : getIdempotencyToken().hashCode()); return hashCode; } @Override public AssociateServiceActionWithProvisioningArtifactRequest clone() { return (AssociateServiceActionWithProvisioningArtifactRequest) super.clone(); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy