/* * Copyright 2018-2023 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.protocol.StructuredPojo; import com.amazonaws.protocol.ProtocolMarshaller; /** *
* A lens return object. *
* * @see AWS API * Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class Lens implements Serializable, Cloneable, StructuredPojo { /** ** The ARN of a lens. *
*/ private String lensArn; /** ** The version of a lens. *
*/ private String lensVersion; private String name; private String description; /** ** The Amazon Web Services account ID that owns the lens. *
*/ private String owner; /** ** The ID assigned to the share invitation. *
*/ private String shareInvitationId; /** ** The tags assigned to the lens. *
*/ private java.util.Map* The ARN of a lens. *
* * @param lensArn * The ARN of a lens. */ public void setLensArn(String lensArn) { this.lensArn = lensArn; } /** ** The ARN of a lens. *
* * @return The ARN of a lens. */ public String getLensArn() { return this.lensArn; } /** ** The ARN of a lens. *
* * @param lensArn * The ARN of a lens. * @return Returns a reference to this object so that method calls can be chained together. */ public Lens withLensArn(String lensArn) { setLensArn(lensArn); return this; } /** ** The version of a lens. *
* * @param lensVersion * The version of a lens. */ public void setLensVersion(String lensVersion) { this.lensVersion = lensVersion; } /** ** The version of a lens. *
* * @return The version of a lens. */ public String getLensVersion() { return this.lensVersion; } /** ** The version of a lens. *
* * @param lensVersion * The version of a lens. * @return Returns a reference to this object so that method calls can be chained together. */ public Lens withLensVersion(String lensVersion) { setLensVersion(lensVersion); return this; } /** * @param name */ public void setName(String name) { this.name = name; } /** * @return */ public String getName() { return this.name; } /** * @param name * @return Returns a reference to this object so that method calls can be chained together. */ public Lens withName(String name) { setName(name); return this; } /** * @param description */ public void setDescription(String description) { this.description = description; } /** * @return */ public String getDescription() { return this.description; } /** * @param description * @return Returns a reference to this object so that method calls can be chained together. */ public Lens withDescription(String description) { setDescription(description); return this; } /** ** The Amazon Web Services account ID that owns the lens. *
* * @param owner * The Amazon Web Services account ID that owns the lens. */ public void setOwner(String owner) { this.owner = owner; } /** ** The Amazon Web Services account ID that owns the lens. *
* * @return The Amazon Web Services account ID that owns the lens. */ public String getOwner() { return this.owner; } /** ** The Amazon Web Services account ID that owns the lens. *
* * @param owner * The Amazon Web Services account ID that owns the lens. * @return Returns a reference to this object so that method calls can be chained together. */ public Lens withOwner(String owner) { setOwner(owner); return this; } /** ** The ID assigned to the share invitation. *
* * @param shareInvitationId * The ID assigned to the share invitation. */ public void setShareInvitationId(String shareInvitationId) { this.shareInvitationId = shareInvitationId; } /** ** The ID assigned to the share invitation. *
* * @return The ID assigned to the share invitation. */ public String getShareInvitationId() { return this.shareInvitationId; } /** ** The ID assigned to the share invitation. *
* * @param shareInvitationId * The ID assigned to the share invitation. * @return Returns a reference to this object so that method calls can be chained together. */ public Lens withShareInvitationId(String shareInvitationId) { setShareInvitationId(shareInvitationId); return this; } /** ** The tags assigned to the lens. *
* * @return The tags assigned to the lens. */ public java.util.Map* The tags assigned to the lens. *
* * @param tags * The tags assigned to the lens. */ public void setTags(java.util.Map* The tags assigned to the lens. *
* * @param tags * The tags assigned to the lens. * @return Returns a reference to this object so that method calls can be chained together. */ public Lens withTags(java.util.Map