/* * 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 Network Access Scope. *
* * @see AWS API * Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class NetworkInsightsAccessScope implements Serializable, Cloneable { /** ** The ID of the Network Access Scope. *
*/ private String networkInsightsAccessScopeId; /** ** The Amazon Resource Name (ARN) of the Network Access Scope. *
*/ private String networkInsightsAccessScopeArn; /** ** The creation date. *
*/ private java.util.Date createdDate; /** ** The last updated date. *
*/ private java.util.Date updatedDate; /** ** The tags. *
*/ private com.amazonaws.internal.SdkInternalList* The ID of the Network Access Scope. *
* * @param networkInsightsAccessScopeId * The ID of the Network Access Scope. */ public void setNetworkInsightsAccessScopeId(String networkInsightsAccessScopeId) { this.networkInsightsAccessScopeId = networkInsightsAccessScopeId; } /** ** The ID of the Network Access Scope. *
* * @return The ID of the Network Access Scope. */ public String getNetworkInsightsAccessScopeId() { return this.networkInsightsAccessScopeId; } /** ** The ID of the Network Access Scope. *
* * @param networkInsightsAccessScopeId * The ID of the Network Access Scope. * @return Returns a reference to this object so that method calls can be chained together. */ public NetworkInsightsAccessScope withNetworkInsightsAccessScopeId(String networkInsightsAccessScopeId) { setNetworkInsightsAccessScopeId(networkInsightsAccessScopeId); return this; } /** ** The Amazon Resource Name (ARN) of the Network Access Scope. *
* * @param networkInsightsAccessScopeArn * The Amazon Resource Name (ARN) of the Network Access Scope. */ public void setNetworkInsightsAccessScopeArn(String networkInsightsAccessScopeArn) { this.networkInsightsAccessScopeArn = networkInsightsAccessScopeArn; } /** ** The Amazon Resource Name (ARN) of the Network Access Scope. *
* * @return The Amazon Resource Name (ARN) of the Network Access Scope. */ public String getNetworkInsightsAccessScopeArn() { return this.networkInsightsAccessScopeArn; } /** ** The Amazon Resource Name (ARN) of the Network Access Scope. *
* * @param networkInsightsAccessScopeArn * The Amazon Resource Name (ARN) of the Network Access Scope. * @return Returns a reference to this object so that method calls can be chained together. */ public NetworkInsightsAccessScope withNetworkInsightsAccessScopeArn(String networkInsightsAccessScopeArn) { setNetworkInsightsAccessScopeArn(networkInsightsAccessScopeArn); return this; } /** ** The creation date. *
* * @param createdDate * The creation date. */ public void setCreatedDate(java.util.Date createdDate) { this.createdDate = createdDate; } /** ** The creation date. *
* * @return The creation date. */ public java.util.Date getCreatedDate() { return this.createdDate; } /** ** The creation date. *
* * @param createdDate * The creation date. * @return Returns a reference to this object so that method calls can be chained together. */ public NetworkInsightsAccessScope withCreatedDate(java.util.Date createdDate) { setCreatedDate(createdDate); return this; } /** ** The last updated date. *
* * @param updatedDate * The last updated date. */ public void setUpdatedDate(java.util.Date updatedDate) { this.updatedDate = updatedDate; } /** ** The last updated date. *
* * @return The last updated date. */ public java.util.Date getUpdatedDate() { return this.updatedDate; } /** ** The last updated date. *
* * @param updatedDate * The last updated date. * @return Returns a reference to this object so that method calls can be chained together. */ public NetworkInsightsAccessScope withUpdatedDate(java.util.Date updatedDate) { setUpdatedDate(updatedDate); 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 NetworkInsightsAccessScope 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 NetworkInsightsAccessScope withTags(java.util.Collection