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

com.amazonaws.services.servicequotas.model.DeleteServiceQuotaIncreaseRequestFromTemplateRequest Maven / Gradle / Ivy

Go to download

The AWS Java SDK for Service Quotas module holds the client classes that are used for communicating with Service Quotas 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.servicequotas.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 DeleteServiceQuotaIncreaseRequestFromTemplateRequest extends com.amazonaws.AmazonWebServiceRequest implements Serializable, Cloneable {

    /**
     * 

* Specifies the service identifier. To find the service code value for an Amazon Web Services service, use the * ListServices operation. *

*/ private String serviceCode; /** *

* Specifies the quota identifier. To find the quota code for a specific quota, use the ListServiceQuotas * operation, and look for the QuotaCode response in the output for the quota you want. *

*/ private String quotaCode; /** *

* Specifies the Amazon Web Services Region for which the request was made. *

*/ private String awsRegion; /** *

* Specifies the service identifier. To find the service code value for an Amazon Web Services service, use the * ListServices operation. *

* * @param serviceCode * Specifies the service identifier. To find the service code value for an Amazon Web Services service, use * the ListServices operation. */ public void setServiceCode(String serviceCode) { this.serviceCode = serviceCode; } /** *

* Specifies the service identifier. To find the service code value for an Amazon Web Services service, use the * ListServices operation. *

* * @return Specifies the service identifier. To find the service code value for an Amazon Web Services service, use * the ListServices operation. */ public String getServiceCode() { return this.serviceCode; } /** *

* Specifies the service identifier. To find the service code value for an Amazon Web Services service, use the * ListServices operation. *

* * @param serviceCode * Specifies the service identifier. To find the service code value for an Amazon Web Services service, use * the ListServices operation. * @return Returns a reference to this object so that method calls can be chained together. */ public DeleteServiceQuotaIncreaseRequestFromTemplateRequest withServiceCode(String serviceCode) { setServiceCode(serviceCode); return this; } /** *

* Specifies the quota identifier. To find the quota code for a specific quota, use the ListServiceQuotas * operation, and look for the QuotaCode response in the output for the quota you want. *

* * @param quotaCode * Specifies the quota identifier. To find the quota code for a specific quota, use the * ListServiceQuotas operation, and look for the QuotaCode response in the output for the * quota you want. */ public void setQuotaCode(String quotaCode) { this.quotaCode = quotaCode; } /** *

* Specifies the quota identifier. To find the quota code for a specific quota, use the ListServiceQuotas * operation, and look for the QuotaCode response in the output for the quota you want. *

* * @return Specifies the quota identifier. To find the quota code for a specific quota, use the * ListServiceQuotas operation, and look for the QuotaCode response in the output for * the quota you want. */ public String getQuotaCode() { return this.quotaCode; } /** *

* Specifies the quota identifier. To find the quota code for a specific quota, use the ListServiceQuotas * operation, and look for the QuotaCode response in the output for the quota you want. *

* * @param quotaCode * Specifies the quota identifier. To find the quota code for a specific quota, use the * ListServiceQuotas operation, and look for the QuotaCode response in the output for the * quota you want. * @return Returns a reference to this object so that method calls can be chained together. */ public DeleteServiceQuotaIncreaseRequestFromTemplateRequest withQuotaCode(String quotaCode) { setQuotaCode(quotaCode); return this; } /** *

* Specifies the Amazon Web Services Region for which the request was made. *

* * @param awsRegion * Specifies the Amazon Web Services Region for which the request was made. */ public void setAwsRegion(String awsRegion) { this.awsRegion = awsRegion; } /** *

* Specifies the Amazon Web Services Region for which the request was made. *

* * @return Specifies the Amazon Web Services Region for which the request was made. */ public String getAwsRegion() { return this.awsRegion; } /** *

* Specifies the Amazon Web Services Region for which the request was made. *

* * @param awsRegion * Specifies the Amazon Web Services Region for which the request was made. * @return Returns a reference to this object so that method calls can be chained together. */ public DeleteServiceQuotaIncreaseRequestFromTemplateRequest withAwsRegion(String awsRegion) { setAwsRegion(awsRegion); 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 (getServiceCode() != null) sb.append("ServiceCode: ").append(getServiceCode()).append(","); if (getQuotaCode() != null) sb.append("QuotaCode: ").append(getQuotaCode()).append(","); if (getAwsRegion() != null) sb.append("AwsRegion: ").append(getAwsRegion()); sb.append("}"); return sb.toString(); } @Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof DeleteServiceQuotaIncreaseRequestFromTemplateRequest == false) return false; DeleteServiceQuotaIncreaseRequestFromTemplateRequest other = (DeleteServiceQuotaIncreaseRequestFromTemplateRequest) obj; if (other.getServiceCode() == null ^ this.getServiceCode() == null) return false; if (other.getServiceCode() != null && other.getServiceCode().equals(this.getServiceCode()) == false) return false; if (other.getQuotaCode() == null ^ this.getQuotaCode() == null) return false; if (other.getQuotaCode() != null && other.getQuotaCode().equals(this.getQuotaCode()) == false) return false; if (other.getAwsRegion() == null ^ this.getAwsRegion() == null) return false; if (other.getAwsRegion() != null && other.getAwsRegion().equals(this.getAwsRegion()) == false) return false; return true; } @Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getServiceCode() == null) ? 0 : getServiceCode().hashCode()); hashCode = prime * hashCode + ((getQuotaCode() == null) ? 0 : getQuotaCode().hashCode()); hashCode = prime * hashCode + ((getAwsRegion() == null) ? 0 : getAwsRegion().hashCode()); return hashCode; } @Override public DeleteServiceQuotaIncreaseRequestFromTemplateRequest clone() { return (DeleteServiceQuotaIncreaseRequestFromTemplateRequest) super.clone(); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy