/* * 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.ec2.model; import java.io.Serializable; import javax.annotation.Generated; /** *
* Describes a Verified Access group. *
* * @see AWS API * Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class VerifiedAccessGroup implements Serializable, Cloneable { /** ** The ID of the Verified Access group. *
*/ private String verifiedAccessGroupId; /** ** The ID of the Amazon Web Services Verified Access instance. *
*/ private String verifiedAccessInstanceId; /** ** A description for the Amazon Web Services Verified Access group. *
*/ private String description; /** ** The Amazon Web Services account number that owns the group. *
*/ private String owner; /** ** The ARN of the Verified Access group. *
*/ private String verifiedAccessGroupArn; /** ** The creation time. *
*/ private String creationTime; /** ** The last updated time. *
*/ private String lastUpdatedTime; /** ** The deletion time. *
*/ private String deletionTime; /** ** The tags. *
*/ private com.amazonaws.internal.SdkInternalList* The ID of the Verified Access group. *
* * @param verifiedAccessGroupId * The ID of the Verified Access group. */ public void setVerifiedAccessGroupId(String verifiedAccessGroupId) { this.verifiedAccessGroupId = verifiedAccessGroupId; } /** ** The ID of the Verified Access group. *
* * @return The ID of the Verified Access group. */ public String getVerifiedAccessGroupId() { return this.verifiedAccessGroupId; } /** ** The ID of the Verified Access group. *
* * @param verifiedAccessGroupId * The ID of the Verified Access group. * @return Returns a reference to this object so that method calls can be chained together. */ public VerifiedAccessGroup withVerifiedAccessGroupId(String verifiedAccessGroupId) { setVerifiedAccessGroupId(verifiedAccessGroupId); return this; } /** ** The ID of the Amazon Web Services Verified Access instance. *
* * @param verifiedAccessInstanceId * The ID of the Amazon Web Services Verified Access instance. */ public void setVerifiedAccessInstanceId(String verifiedAccessInstanceId) { this.verifiedAccessInstanceId = verifiedAccessInstanceId; } /** ** The ID of the Amazon Web Services Verified Access instance. *
* * @return The ID of the Amazon Web Services Verified Access instance. */ public String getVerifiedAccessInstanceId() { return this.verifiedAccessInstanceId; } /** ** The ID of the Amazon Web Services Verified Access instance. *
* * @param verifiedAccessInstanceId * The ID of the Amazon Web Services Verified Access instance. * @return Returns a reference to this object so that method calls can be chained together. */ public VerifiedAccessGroup withVerifiedAccessInstanceId(String verifiedAccessInstanceId) { setVerifiedAccessInstanceId(verifiedAccessInstanceId); return this; } /** ** A description for the Amazon Web Services Verified Access group. *
* * @param description * A description for the Amazon Web Services Verified Access group. */ public void setDescription(String description) { this.description = description; } /** ** A description for the Amazon Web Services Verified Access group. *
* * @return A description for the Amazon Web Services Verified Access group. */ public String getDescription() { return this.description; } /** ** A description for the Amazon Web Services Verified Access group. *
* * @param description * A description for the Amazon Web Services Verified Access group. * @return Returns a reference to this object so that method calls can be chained together. */ public VerifiedAccessGroup withDescription(String description) { setDescription(description); return this; } /** ** The Amazon Web Services account number that owns the group. *
* * @param owner * The Amazon Web Services account number that owns the group. */ public void setOwner(String owner) { this.owner = owner; } /** ** The Amazon Web Services account number that owns the group. *
* * @return The Amazon Web Services account number that owns the group. */ public String getOwner() { return this.owner; } /** ** The Amazon Web Services account number that owns the group. *
* * @param owner * The Amazon Web Services account number that owns the group. * @return Returns a reference to this object so that method calls can be chained together. */ public VerifiedAccessGroup withOwner(String owner) { setOwner(owner); return this; } /** ** The ARN of the Verified Access group. *
* * @param verifiedAccessGroupArn * The ARN of the Verified Access group. */ public void setVerifiedAccessGroupArn(String verifiedAccessGroupArn) { this.verifiedAccessGroupArn = verifiedAccessGroupArn; } /** ** The ARN of the Verified Access group. *
* * @return The ARN of the Verified Access group. */ public String getVerifiedAccessGroupArn() { return this.verifiedAccessGroupArn; } /** ** The ARN of the Verified Access group. *
* * @param verifiedAccessGroupArn * The ARN of the Verified Access group. * @return Returns a reference to this object so that method calls can be chained together. */ public VerifiedAccessGroup withVerifiedAccessGroupArn(String verifiedAccessGroupArn) { setVerifiedAccessGroupArn(verifiedAccessGroupArn); return this; } /** ** The creation time. *
* * @param creationTime * The creation time. */ public void setCreationTime(String creationTime) { this.creationTime = creationTime; } /** ** The creation time. *
* * @return The creation time. */ public String getCreationTime() { return this.creationTime; } /** ** The creation time. *
* * @param creationTime * The creation time. * @return Returns a reference to this object so that method calls can be chained together. */ public VerifiedAccessGroup withCreationTime(String creationTime) { setCreationTime(creationTime); return this; } /** ** The last updated time. *
* * @param lastUpdatedTime * The last updated time. */ public void setLastUpdatedTime(String lastUpdatedTime) { this.lastUpdatedTime = lastUpdatedTime; } /** ** The last updated time. *
* * @return The last updated time. */ public String getLastUpdatedTime() { return this.lastUpdatedTime; } /** ** The last updated time. *
* * @param lastUpdatedTime * The last updated time. * @return Returns a reference to this object so that method calls can be chained together. */ public VerifiedAccessGroup withLastUpdatedTime(String lastUpdatedTime) { setLastUpdatedTime(lastUpdatedTime); return this; } /** ** The deletion time. *
* * @param deletionTime * The deletion time. */ public void setDeletionTime(String deletionTime) { this.deletionTime = deletionTime; } /** ** The deletion time. *
* * @return The deletion time. */ public String getDeletionTime() { return this.deletionTime; } /** ** The deletion time. *
* * @param deletionTime * The deletion time. * @return Returns a reference to this object so that method calls can be chained together. */ public VerifiedAccessGroup withDeletionTime(String deletionTime) { setDeletionTime(deletionTime); return this; } /** ** The tags. *
* * @return The tags. */ public java.util.List* The tags. *
* * @param tags * The tags. */ public void setTags(java.util.Collection* The tags. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setTags(java.util.Collection)} or {@link #withTags(java.util.Collection)} if you want to override the * existing values. *
* * @param tags * The tags. * @return Returns a reference to this object so that method calls can be chained together. */ public VerifiedAccessGroup withTags(Tag... tags) { if (this.tags == null) { setTags(new com.amazonaws.internal.SdkInternalList* The tags. *
* * @param tags * The tags. * @return Returns a reference to this object so that method calls can be chained together. */ public VerifiedAccessGroup withTags(java.util.Collection