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

com.amazonaws.services.deadline.model.DeleteMeteredProductRequest Maven / Gradle / Ivy

Go to download

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

The 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.deadline.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 DeleteMeteredProductRequest extends com.amazonaws.AmazonWebServiceRequest implements Serializable, Cloneable {

    /**
     * 

* The ID of the license endpoint from which to remove the metered product. *

*/ private String licenseEndpointId; /** *

* The product ID to remove from the license endpoint. *

*/ private String productId; /** *

* The ID of the license endpoint from which to remove the metered product. *

* * @param licenseEndpointId * The ID of the license endpoint from which to remove the metered product. */ public void setLicenseEndpointId(String licenseEndpointId) { this.licenseEndpointId = licenseEndpointId; } /** *

* The ID of the license endpoint from which to remove the metered product. *

* * @return The ID of the license endpoint from which to remove the metered product. */ public String getLicenseEndpointId() { return this.licenseEndpointId; } /** *

* The ID of the license endpoint from which to remove the metered product. *

* * @param licenseEndpointId * The ID of the license endpoint from which to remove the metered product. * @return Returns a reference to this object so that method calls can be chained together. */ public DeleteMeteredProductRequest withLicenseEndpointId(String licenseEndpointId) { setLicenseEndpointId(licenseEndpointId); return this; } /** *

* The product ID to remove from the license endpoint. *

* * @param productId * The product ID to remove from the license endpoint. */ public void setProductId(String productId) { this.productId = productId; } /** *

* The product ID to remove from the license endpoint. *

* * @return The product ID to remove from the license endpoint. */ public String getProductId() { return this.productId; } /** *

* The product ID to remove from the license endpoint. *

* * @param productId * The product ID to remove from the license endpoint. * @return Returns a reference to this object so that method calls can be chained together. */ public DeleteMeteredProductRequest withProductId(String productId) { setProductId(productId); 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 (getLicenseEndpointId() != null) sb.append("LicenseEndpointId: ").append(getLicenseEndpointId()).append(","); if (getProductId() != null) sb.append("ProductId: ").append(getProductId()); sb.append("}"); return sb.toString(); } @Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof DeleteMeteredProductRequest == false) return false; DeleteMeteredProductRequest other = (DeleteMeteredProductRequest) obj; if (other.getLicenseEndpointId() == null ^ this.getLicenseEndpointId() == null) return false; if (other.getLicenseEndpointId() != null && other.getLicenseEndpointId().equals(this.getLicenseEndpointId()) == false) return false; if (other.getProductId() == null ^ this.getProductId() == null) return false; if (other.getProductId() != null && other.getProductId().equals(this.getProductId()) == false) return false; return true; } @Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getLicenseEndpointId() == null) ? 0 : getLicenseEndpointId().hashCode()); hashCode = prime * hashCode + ((getProductId() == null) ? 0 : getProductId().hashCode()); return hashCode; } @Override public DeleteMeteredProductRequest clone() { return (DeleteMeteredProductRequest) super.clone(); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy