/* * 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 instance. *
* * @see AWS API * Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class VerifiedAccessInstance implements Serializable, Cloneable { /** ** The ID of the Amazon Web Services Verified Access instance. *
*/ private String verifiedAccessInstanceId; /** ** A description for the Amazon Web Services Verified Access instance. *
*/ private String description; /** ** The IDs of the Amazon Web Services Verified Access trust providers. *
*/ private com.amazonaws.internal.SdkInternalList* The creation time. *
*/ private String creationTime; /** ** The last updated time. *
*/ private String lastUpdatedTime; /** ** The tags. *
*/ private com.amazonaws.internal.SdkInternalList* 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 VerifiedAccessInstance withVerifiedAccessInstanceId(String verifiedAccessInstanceId) { setVerifiedAccessInstanceId(verifiedAccessInstanceId); return this; } /** ** A description for the Amazon Web Services Verified Access instance. *
* * @param description * A description for the Amazon Web Services Verified Access instance. */ public void setDescription(String description) { this.description = description; } /** ** A description for the Amazon Web Services Verified Access instance. *
* * @return A description for the Amazon Web Services Verified Access instance. */ public String getDescription() { return this.description; } /** ** A description for the Amazon Web Services Verified Access instance. *
* * @param description * A description for the Amazon Web Services Verified Access instance. * @return Returns a reference to this object so that method calls can be chained together. */ public VerifiedAccessInstance withDescription(String description) { setDescription(description); return this; } /** ** The IDs of the Amazon Web Services Verified Access trust providers. *
* * @return The IDs of the Amazon Web Services Verified Access trust providers. */ public java.util.List* The IDs of the Amazon Web Services Verified Access trust providers. *
* * @param verifiedAccessTrustProviders * The IDs of the Amazon Web Services Verified Access trust providers. */ public void setVerifiedAccessTrustProviders(java.util.Collection* The IDs of the Amazon Web Services Verified Access trust providers. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setVerifiedAccessTrustProviders(java.util.Collection)} or * {@link #withVerifiedAccessTrustProviders(java.util.Collection)} if you want to override the existing values. *
* * @param verifiedAccessTrustProviders * The IDs of the Amazon Web Services Verified Access trust providers. * @return Returns a reference to this object so that method calls can be chained together. */ public VerifiedAccessInstance withVerifiedAccessTrustProviders(VerifiedAccessTrustProviderCondensed... verifiedAccessTrustProviders) { if (this.verifiedAccessTrustProviders == null) { setVerifiedAccessTrustProviders(new com.amazonaws.internal.SdkInternalList* The IDs of the Amazon Web Services Verified Access trust providers. *
* * @param verifiedAccessTrustProviders * The IDs of the Amazon Web Services Verified Access trust providers. * @return Returns a reference to this object so that method calls can be chained together. */ public VerifiedAccessInstance withVerifiedAccessTrustProviders(java.util.Collection* 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 VerifiedAccessInstance 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 VerifiedAccessInstance withLastUpdatedTime(String lastUpdatedTime) { setLastUpdatedTime(lastUpdatedTime); 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 VerifiedAccessInstance 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 VerifiedAccessInstance withTags(java.util.Collection