/* * 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.xray.model; import java.io.Serializable; import javax.annotation.Generated; import com.amazonaws.protocol.StructuredPojo; import com.amazonaws.protocol.ProtocolMarshaller; /** *
* Information about an application that processed requests, users that made requests, or downstream services, * resources, and applications that an application used. *
* * @see AWS API * Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class InsightImpactGraphService implements Serializable, Cloneable, StructuredPojo { /** ** Identifier for the service. Unique within the service map. *
*/ private Integer referenceId; /** ** Identifier for the service. Unique within the service map. *
** Amazon Web Services Resource - The type of an Amazon Web Services resource. For example, AWS::EC2::Instance for * an application running on Amazon EC2 or AWS::DynamoDB::Table for an Amazon DynamoDB table that the application * used. *
** Amazon Web Services Service - The type of an Amazon Web Services service. For example, AWS::DynamoDB for * downstream calls to Amazon DynamoDB that didn't target a specific table. *
** Amazon Web Services Service - The type of an Amazon Web Services service. For example, AWS::DynamoDB for * downstream calls to Amazon DynamoDB that didn't target a specific table. *
** remote - A downstream service of indeterminate type. *
** The canonical name of the service. *
*/ private String name; /** ** A list of names for the service, including the canonical name. *
*/ private java.util.List* Identifier of the Amazon Web Services account in which the service runs. *
*/ private String accountId; /** ** Connections to downstream services. *
*/ private java.util.List* Identifier for the service. Unique within the service map. *
* * @param referenceId * Identifier for the service. Unique within the service map. */ public void setReferenceId(Integer referenceId) { this.referenceId = referenceId; } /** ** Identifier for the service. Unique within the service map. *
* * @return Identifier for the service. Unique within the service map. */ public Integer getReferenceId() { return this.referenceId; } /** ** Identifier for the service. Unique within the service map. *
* * @param referenceId * Identifier for the service. Unique within the service map. * @return Returns a reference to this object so that method calls can be chained together. */ public InsightImpactGraphService withReferenceId(Integer referenceId) { setReferenceId(referenceId); return this; } /** ** Identifier for the service. Unique within the service map. *
** Amazon Web Services Resource - The type of an Amazon Web Services resource. For example, AWS::EC2::Instance for * an application running on Amazon EC2 or AWS::DynamoDB::Table for an Amazon DynamoDB table that the application * used. *
** Amazon Web Services Service - The type of an Amazon Web Services service. For example, AWS::DynamoDB for * downstream calls to Amazon DynamoDB that didn't target a specific table. *
** Amazon Web Services Service - The type of an Amazon Web Services service. For example, AWS::DynamoDB for * downstream calls to Amazon DynamoDB that didn't target a specific table. *
** remote - A downstream service of indeterminate type. *
** Amazon Web Services Resource - The type of an Amazon Web Services resource. For example, * AWS::EC2::Instance for an application running on Amazon EC2 or AWS::DynamoDB::Table for an Amazon DynamoDB * table that the application used. *
** Amazon Web Services Service - The type of an Amazon Web Services service. For example, AWS::DynamoDB for * downstream calls to Amazon DynamoDB that didn't target a specific table. *
** Amazon Web Services Service - The type of an Amazon Web Services service. For example, AWS::DynamoDB for * downstream calls to Amazon DynamoDB that didn't target a specific table. *
** remote - A downstream service of indeterminate type. *
** Identifier for the service. Unique within the service map. *
** Amazon Web Services Resource - The type of an Amazon Web Services resource. For example, AWS::EC2::Instance for * an application running on Amazon EC2 or AWS::DynamoDB::Table for an Amazon DynamoDB table that the application * used. *
** Amazon Web Services Service - The type of an Amazon Web Services service. For example, AWS::DynamoDB for * downstream calls to Amazon DynamoDB that didn't target a specific table. *
** Amazon Web Services Service - The type of an Amazon Web Services service. For example, AWS::DynamoDB for * downstream calls to Amazon DynamoDB that didn't target a specific table. *
** remote - A downstream service of indeterminate type. *
** Amazon Web Services Resource - The type of an Amazon Web Services resource. For example, * AWS::EC2::Instance for an application running on Amazon EC2 or AWS::DynamoDB::Table for an Amazon * DynamoDB table that the application used. *
** Amazon Web Services Service - The type of an Amazon Web Services service. For example, AWS::DynamoDB for * downstream calls to Amazon DynamoDB that didn't target a specific table. *
** Amazon Web Services Service - The type of an Amazon Web Services service. For example, AWS::DynamoDB for * downstream calls to Amazon DynamoDB that didn't target a specific table. *
** remote - A downstream service of indeterminate type. *
** Identifier for the service. Unique within the service map. *
** Amazon Web Services Resource - The type of an Amazon Web Services resource. For example, AWS::EC2::Instance for * an application running on Amazon EC2 or AWS::DynamoDB::Table for an Amazon DynamoDB table that the application * used. *
** Amazon Web Services Service - The type of an Amazon Web Services service. For example, AWS::DynamoDB for * downstream calls to Amazon DynamoDB that didn't target a specific table. *
** Amazon Web Services Service - The type of an Amazon Web Services service. For example, AWS::DynamoDB for * downstream calls to Amazon DynamoDB that didn't target a specific table. *
** remote - A downstream service of indeterminate type. *
** Amazon Web Services Resource - The type of an Amazon Web Services resource. For example, * AWS::EC2::Instance for an application running on Amazon EC2 or AWS::DynamoDB::Table for an Amazon DynamoDB * table that the application used. *
** Amazon Web Services Service - The type of an Amazon Web Services service. For example, AWS::DynamoDB for * downstream calls to Amazon DynamoDB that didn't target a specific table. *
** Amazon Web Services Service - The type of an Amazon Web Services service. For example, AWS::DynamoDB for * downstream calls to Amazon DynamoDB that didn't target a specific table. *
** remote - A downstream service of indeterminate type. *
** The canonical name of the service. *
* * @param name * The canonical name of the service. */ public void setName(String name) { this.name = name; } /** ** The canonical name of the service. *
* * @return The canonical name of the service. */ public String getName() { return this.name; } /** ** The canonical name of the service. *
* * @param name * The canonical name of the service. * @return Returns a reference to this object so that method calls can be chained together. */ public InsightImpactGraphService withName(String name) { setName(name); return this; } /** ** A list of names for the service, including the canonical name. *
* * @return A list of names for the service, including the canonical name. */ public java.util.List* A list of names for the service, including the canonical name. *
* * @param names * A list of names for the service, including the canonical name. */ public void setNames(java.util.Collection* A list of names for the service, including the canonical name. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setNames(java.util.Collection)} or {@link #withNames(java.util.Collection)} if you want to override the * existing values. *
* * @param names * A list of names for the service, including the canonical name. * @return Returns a reference to this object so that method calls can be chained together. */ public InsightImpactGraphService withNames(String... names) { if (this.names == null) { setNames(new java.util.ArrayList* A list of names for the service, including the canonical name. *
* * @param names * A list of names for the service, including the canonical name. * @return Returns a reference to this object so that method calls can be chained together. */ public InsightImpactGraphService withNames(java.util.Collection* Identifier of the Amazon Web Services account in which the service runs. *
* * @param accountId * Identifier of the Amazon Web Services account in which the service runs. */ public void setAccountId(String accountId) { this.accountId = accountId; } /** ** Identifier of the Amazon Web Services account in which the service runs. *
* * @return Identifier of the Amazon Web Services account in which the service runs. */ public String getAccountId() { return this.accountId; } /** ** Identifier of the Amazon Web Services account in which the service runs. *
* * @param accountId * Identifier of the Amazon Web Services account in which the service runs. * @return Returns a reference to this object so that method calls can be chained together. */ public InsightImpactGraphService withAccountId(String accountId) { setAccountId(accountId); return this; } /** ** Connections to downstream services. *
* * @return Connections to downstream services. */ public java.util.List* Connections to downstream services. *
* * @param edges * Connections to downstream services. */ public void setEdges(java.util.Collection* Connections to downstream services. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setEdges(java.util.Collection)} or {@link #withEdges(java.util.Collection)} if you want to override the * existing values. *
* * @param edges * Connections to downstream services. * @return Returns a reference to this object so that method calls can be chained together. */ public InsightImpactGraphService withEdges(InsightImpactGraphEdge... edges) { if (this.edges == null) { setEdges(new java.util.ArrayList* Connections to downstream services. *
* * @param edges * Connections to downstream services. * @return Returns a reference to this object so that method calls can be chained together. */ public InsightImpactGraphService withEdges(java.util.Collection