
com.amazonaws.services.servicecatalog.model.DescribeProvisioningArtifactRequest Maven / Gradle / Ivy
Show all versions of aws-java-sdk-servicecatalog Show documentation
/*
* Copyright 2020-2025 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 DescribeProvisioningArtifactRequest extends com.amazonaws.AmazonWebServiceRequest implements Serializable, Cloneable {
/**
*
* The language code.
*
*
* -
*
* jp
- Japanese
*
*
* -
*
* zh
- Chinese
*
*
*
*/
private String acceptLanguage;
/**
*
* The identifier of the provisioning artifact.
*
*/
private String provisioningArtifactId;
/**
*
* The product identifier.
*
*/
private String productId;
/**
*
* The provisioning artifact name.
*
*/
private String provisioningArtifactName;
/**
*
* The product name.
*
*/
private String productName;
/**
*
* Indicates whether a verbose level of detail is enabled.
*
*/
private Boolean verbose;
/**
*
* Indicates if the API call response does or does not include additional details about the provisioning parameters.
*
*/
private Boolean includeProvisioningArtifactParameters;
/**
*
* 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 DescribeProvisioningArtifactRequest withAcceptLanguage(String acceptLanguage) {
setAcceptLanguage(acceptLanguage);
return this;
}
/**
*
* The identifier of the provisioning artifact.
*
*
* @param provisioningArtifactId
* The identifier of the provisioning artifact.
*/
public void setProvisioningArtifactId(String provisioningArtifactId) {
this.provisioningArtifactId = provisioningArtifactId;
}
/**
*
* The identifier of the provisioning artifact.
*
*
* @return The identifier of the provisioning artifact.
*/
public String getProvisioningArtifactId() {
return this.provisioningArtifactId;
}
/**
*
* The identifier of the provisioning artifact.
*
*
* @param provisioningArtifactId
* The identifier of the provisioning artifact.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public DescribeProvisioningArtifactRequest withProvisioningArtifactId(String provisioningArtifactId) {
setProvisioningArtifactId(provisioningArtifactId);
return this;
}
/**
*
* The product identifier.
*
*
* @param productId
* The product identifier.
*/
public void setProductId(String productId) {
this.productId = productId;
}
/**
*
* The product identifier.
*
*
* @return The product identifier.
*/
public String getProductId() {
return this.productId;
}
/**
*
* The product identifier.
*
*
* @param productId
* The product identifier.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public DescribeProvisioningArtifactRequest withProductId(String productId) {
setProductId(productId);
return this;
}
/**
*
* The provisioning artifact name.
*
*
* @param provisioningArtifactName
* The provisioning artifact name.
*/
public void setProvisioningArtifactName(String provisioningArtifactName) {
this.provisioningArtifactName = provisioningArtifactName;
}
/**
*
* The provisioning artifact name.
*
*
* @return The provisioning artifact name.
*/
public String getProvisioningArtifactName() {
return this.provisioningArtifactName;
}
/**
*
* The provisioning artifact name.
*
*
* @param provisioningArtifactName
* The provisioning artifact name.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public DescribeProvisioningArtifactRequest withProvisioningArtifactName(String provisioningArtifactName) {
setProvisioningArtifactName(provisioningArtifactName);
return this;
}
/**
*
* The product name.
*
*
* @param productName
* The product name.
*/
public void setProductName(String productName) {
this.productName = productName;
}
/**
*
* The product name.
*
*
* @return The product name.
*/
public String getProductName() {
return this.productName;
}
/**
*
* The product name.
*
*
* @param productName
* The product name.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public DescribeProvisioningArtifactRequest withProductName(String productName) {
setProductName(productName);
return this;
}
/**
*
* Indicates whether a verbose level of detail is enabled.
*
*
* @param verbose
* Indicates whether a verbose level of detail is enabled.
*/
public void setVerbose(Boolean verbose) {
this.verbose = verbose;
}
/**
*
* Indicates whether a verbose level of detail is enabled.
*
*
* @return Indicates whether a verbose level of detail is enabled.
*/
public Boolean getVerbose() {
return this.verbose;
}
/**
*
* Indicates whether a verbose level of detail is enabled.
*
*
* @param verbose
* Indicates whether a verbose level of detail is enabled.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public DescribeProvisioningArtifactRequest withVerbose(Boolean verbose) {
setVerbose(verbose);
return this;
}
/**
*
* Indicates whether a verbose level of detail is enabled.
*
*
* @return Indicates whether a verbose level of detail is enabled.
*/
public Boolean isVerbose() {
return this.verbose;
}
/**
*
* Indicates if the API call response does or does not include additional details about the provisioning parameters.
*
*
* @param includeProvisioningArtifactParameters
* Indicates if the API call response does or does not include additional details about the provisioning
* parameters.
*/
public void setIncludeProvisioningArtifactParameters(Boolean includeProvisioningArtifactParameters) {
this.includeProvisioningArtifactParameters = includeProvisioningArtifactParameters;
}
/**
*
* Indicates if the API call response does or does not include additional details about the provisioning parameters.
*
*
* @return Indicates if the API call response does or does not include additional details about the provisioning
* parameters.
*/
public Boolean getIncludeProvisioningArtifactParameters() {
return this.includeProvisioningArtifactParameters;
}
/**
*
* Indicates if the API call response does or does not include additional details about the provisioning parameters.
*
*
* @param includeProvisioningArtifactParameters
* Indicates if the API call response does or does not include additional details about the provisioning
* parameters.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public DescribeProvisioningArtifactRequest withIncludeProvisioningArtifactParameters(Boolean includeProvisioningArtifactParameters) {
setIncludeProvisioningArtifactParameters(includeProvisioningArtifactParameters);
return this;
}
/**
*
* Indicates if the API call response does or does not include additional details about the provisioning parameters.
*
*
* @return Indicates if the API call response does or does not include additional details about the provisioning
* parameters.
*/
public Boolean isIncludeProvisioningArtifactParameters() {
return this.includeProvisioningArtifactParameters;
}
/**
* 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 (getAcceptLanguage() != null)
sb.append("AcceptLanguage: ").append(getAcceptLanguage()).append(",");
if (getProvisioningArtifactId() != null)
sb.append("ProvisioningArtifactId: ").append(getProvisioningArtifactId()).append(",");
if (getProductId() != null)
sb.append("ProductId: ").append(getProductId()).append(",");
if (getProvisioningArtifactName() != null)
sb.append("ProvisioningArtifactName: ").append(getProvisioningArtifactName()).append(",");
if (getProductName() != null)
sb.append("ProductName: ").append(getProductName()).append(",");
if (getVerbose() != null)
sb.append("Verbose: ").append(getVerbose()).append(",");
if (getIncludeProvisioningArtifactParameters() != null)
sb.append("IncludeProvisioningArtifactParameters: ").append(getIncludeProvisioningArtifactParameters());
sb.append("}");
return sb.toString();
}
@Override
public boolean equals(Object obj) {
if (this == obj)
return true;
if (obj == null)
return false;
if (obj instanceof DescribeProvisioningArtifactRequest == false)
return false;
DescribeProvisioningArtifactRequest other = (DescribeProvisioningArtifactRequest) obj;
if (other.getAcceptLanguage() == null ^ this.getAcceptLanguage() == null)
return false;
if (other.getAcceptLanguage() != null && other.getAcceptLanguage().equals(this.getAcceptLanguage()) == 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.getProductId() == null ^ this.getProductId() == null)
return false;
if (other.getProductId() != null && other.getProductId().equals(this.getProductId()) == false)
return false;
if (other.getProvisioningArtifactName() == null ^ this.getProvisioningArtifactName() == null)
return false;
if (other.getProvisioningArtifactName() != null && other.getProvisioningArtifactName().equals(this.getProvisioningArtifactName()) == false)
return false;
if (other.getProductName() == null ^ this.getProductName() == null)
return false;
if (other.getProductName() != null && other.getProductName().equals(this.getProductName()) == false)
return false;
if (other.getVerbose() == null ^ this.getVerbose() == null)
return false;
if (other.getVerbose() != null && other.getVerbose().equals(this.getVerbose()) == false)
return false;
if (other.getIncludeProvisioningArtifactParameters() == null ^ this.getIncludeProvisioningArtifactParameters() == null)
return false;
if (other.getIncludeProvisioningArtifactParameters() != null
&& other.getIncludeProvisioningArtifactParameters().equals(this.getIncludeProvisioningArtifactParameters()) == false)
return false;
return true;
}
@Override
public int hashCode() {
final int prime = 31;
int hashCode = 1;
hashCode = prime * hashCode + ((getAcceptLanguage() == null) ? 0 : getAcceptLanguage().hashCode());
hashCode = prime * hashCode + ((getProvisioningArtifactId() == null) ? 0 : getProvisioningArtifactId().hashCode());
hashCode = prime * hashCode + ((getProductId() == null) ? 0 : getProductId().hashCode());
hashCode = prime * hashCode + ((getProvisioningArtifactName() == null) ? 0 : getProvisioningArtifactName().hashCode());
hashCode = prime * hashCode + ((getProductName() == null) ? 0 : getProductName().hashCode());
hashCode = prime * hashCode + ((getVerbose() == null) ? 0 : getVerbose().hashCode());
hashCode = prime * hashCode + ((getIncludeProvisioningArtifactParameters() == null) ? 0 : getIncludeProvisioningArtifactParameters().hashCode());
return hashCode;
}
@Override
public DescribeProvisioningArtifactRequest clone() {
return (DescribeProvisioningArtifactRequest) super.clone();
}
}