/* * 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. *

* */ private String 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 names; /** *

* Identifier of the Amazon Web Services account in which the service runs. *

*/ private String accountId; /** *

* Connections to downstream services. *

*/ private java.util.List edges; /** *

* 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. *

* * * @param type * Identifier for the service. Unique within the service map.

*