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

com.amazonaws.services.billingconductor.model.ServiceLimitExceededException Maven / Gradle / Ivy

/*
 * 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.billingconductor.model;

import javax.annotation.Generated;

/**
 * 

* The request would cause a service limit to exceed. *

*/ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class ServiceLimitExceededException extends com.amazonaws.services.billingconductor.model.AWSBillingConductorException { private static final long serialVersionUID = 1L; /** *

* Identifier of the resource affected. *

*/ private String resourceId; /** *

* Type of the resource affected. *

*/ private String resourceType; /** *

* The unique code identifier of the service limit that is being exceeded. *

*/ private String limitCode; /** *

* The unique code for the service of the limit that is being exceeded. *

*/ private String serviceCode; /** * Constructs a new ServiceLimitExceededException with the specified error message. * * @param message * Describes the error encountered. */ public ServiceLimitExceededException(String message) { super(message); } /** *

* Identifier of the resource affected. *

* * @param resourceId * Identifier of the resource affected. */ @com.fasterxml.jackson.annotation.JsonProperty("ResourceId") public void setResourceId(String resourceId) { this.resourceId = resourceId; } /** *

* Identifier of the resource affected. *

* * @return Identifier of the resource affected. */ @com.fasterxml.jackson.annotation.JsonProperty("ResourceId") public String getResourceId() { return this.resourceId; } /** *

* Identifier of the resource affected. *

* * @param resourceId * Identifier of the resource affected. * @return Returns a reference to this object so that method calls can be chained together. */ public ServiceLimitExceededException withResourceId(String resourceId) { setResourceId(resourceId); return this; } /** *

* Type of the resource affected. *

* * @param resourceType * Type of the resource affected. */ @com.fasterxml.jackson.annotation.JsonProperty("ResourceType") public void setResourceType(String resourceType) { this.resourceType = resourceType; } /** *

* Type of the resource affected. *

* * @return Type of the resource affected. */ @com.fasterxml.jackson.annotation.JsonProperty("ResourceType") public String getResourceType() { return this.resourceType; } /** *

* Type of the resource affected. *

* * @param resourceType * Type of the resource affected. * @return Returns a reference to this object so that method calls can be chained together. */ public ServiceLimitExceededException withResourceType(String resourceType) { setResourceType(resourceType); return this; } /** *

* The unique code identifier of the service limit that is being exceeded. *

* * @param limitCode * The unique code identifier of the service limit that is being exceeded. */ @com.fasterxml.jackson.annotation.JsonProperty("LimitCode") public void setLimitCode(String limitCode) { this.limitCode = limitCode; } /** *

* The unique code identifier of the service limit that is being exceeded. *

* * @return The unique code identifier of the service limit that is being exceeded. */ @com.fasterxml.jackson.annotation.JsonProperty("LimitCode") public String getLimitCode() { return this.limitCode; } /** *

* The unique code identifier of the service limit that is being exceeded. *

* * @param limitCode * The unique code identifier of the service limit that is being exceeded. * @return Returns a reference to this object so that method calls can be chained together. */ public ServiceLimitExceededException withLimitCode(String limitCode) { setLimitCode(limitCode); return this; } /** *

* The unique code for the service of the limit that is being exceeded. *

* * @param serviceCode * The unique code for the service of the limit that is being exceeded. */ @com.fasterxml.jackson.annotation.JsonProperty("ServiceCode") public void setServiceCode(String serviceCode) { this.serviceCode = serviceCode; } /** *

* The unique code for the service of the limit that is being exceeded. *

* * @return The unique code for the service of the limit that is being exceeded. */ @com.fasterxml.jackson.annotation.JsonProperty("ServiceCode") public String getServiceCode() { return this.serviceCode; } /** *

* The unique code for the service of the limit that is being exceeded. *

* * @param serviceCode * The unique code for the service of the limit that is being exceeded. * @return Returns a reference to this object so that method calls can be chained together. */ public ServiceLimitExceededException withServiceCode(String serviceCode) { setServiceCode(serviceCode); return this; } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy