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

com.amazonaws.services.wellarchitected.model.GetLensVersionDifferenceRequest Maven / Gradle / Ivy

Go to download

The AWS Java SDK for AWS Well-Architected Tool module holds the client classes that are used for communicating with AWS Well-Architected Tool Service

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

    private String lensAlias;
    /**
     * 

* The base version of the lens. *

*/ private String baseLensVersion; /** *

* The lens version to target a difference for. *

*/ private String targetLensVersion; /** * @param lensAlias */ public void setLensAlias(String lensAlias) { this.lensAlias = lensAlias; } /** * @return */ public String getLensAlias() { return this.lensAlias; } /** * @param lensAlias * @return Returns a reference to this object so that method calls can be chained together. */ public GetLensVersionDifferenceRequest withLensAlias(String lensAlias) { setLensAlias(lensAlias); return this; } /** *

* The base version of the lens. *

* * @param baseLensVersion * The base version of the lens. */ public void setBaseLensVersion(String baseLensVersion) { this.baseLensVersion = baseLensVersion; } /** *

* The base version of the lens. *

* * @return The base version of the lens. */ public String getBaseLensVersion() { return this.baseLensVersion; } /** *

* The base version of the lens. *

* * @param baseLensVersion * The base version of the lens. * @return Returns a reference to this object so that method calls can be chained together. */ public GetLensVersionDifferenceRequest withBaseLensVersion(String baseLensVersion) { setBaseLensVersion(baseLensVersion); return this; } /** *

* The lens version to target a difference for. *

* * @param targetLensVersion * The lens version to target a difference for. */ public void setTargetLensVersion(String targetLensVersion) { this.targetLensVersion = targetLensVersion; } /** *

* The lens version to target a difference for. *

* * @return The lens version to target a difference for. */ public String getTargetLensVersion() { return this.targetLensVersion; } /** *

* The lens version to target a difference for. *

* * @param targetLensVersion * The lens version to target a difference for. * @return Returns a reference to this object so that method calls can be chained together. */ public GetLensVersionDifferenceRequest withTargetLensVersion(String targetLensVersion) { setTargetLensVersion(targetLensVersion); 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 (getLensAlias() != null) sb.append("LensAlias: ").append(getLensAlias()).append(","); if (getBaseLensVersion() != null) sb.append("BaseLensVersion: ").append(getBaseLensVersion()).append(","); if (getTargetLensVersion() != null) sb.append("TargetLensVersion: ").append(getTargetLensVersion()); sb.append("}"); return sb.toString(); } @Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof GetLensVersionDifferenceRequest == false) return false; GetLensVersionDifferenceRequest other = (GetLensVersionDifferenceRequest) obj; if (other.getLensAlias() == null ^ this.getLensAlias() == null) return false; if (other.getLensAlias() != null && other.getLensAlias().equals(this.getLensAlias()) == false) return false; if (other.getBaseLensVersion() == null ^ this.getBaseLensVersion() == null) return false; if (other.getBaseLensVersion() != null && other.getBaseLensVersion().equals(this.getBaseLensVersion()) == false) return false; if (other.getTargetLensVersion() == null ^ this.getTargetLensVersion() == null) return false; if (other.getTargetLensVersion() != null && other.getTargetLensVersion().equals(this.getTargetLensVersion()) == false) return false; return true; } @Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getLensAlias() == null) ? 0 : getLensAlias().hashCode()); hashCode = prime * hashCode + ((getBaseLensVersion() == null) ? 0 : getBaseLensVersion().hashCode()); hashCode = prime * hashCode + ((getTargetLensVersion() == null) ? 0 : getTargetLensVersion().hashCode()); return hashCode; } @Override public GetLensVersionDifferenceRequest clone() { return (GetLensVersionDifferenceRequest) super.clone(); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy