/* * 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.glue.model; import java.io.Serializable; import javax.annotation.Generated; import com.amazonaws.protocol.StructuredPojo; import com.amazonaws.protocol.ProtocolMarshaller; /** *
* A workflow graph represents the complete workflow containing all the Glue components present in the workflow and all * the directed connections between them. *
* * @see AWS API * Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class WorkflowGraph implements Serializable, Cloneable, StructuredPojo { /** ** A list of the the Glue components belong to the workflow represented as nodes. *
*/ private java.util.List* A list of all the directed connections between the nodes belonging to the workflow. *
*/ private java.util.List* A list of the the Glue components belong to the workflow represented as nodes. *
* * @return A list of the the Glue components belong to the workflow represented as nodes. */ public java.util.List* A list of the the Glue components belong to the workflow represented as nodes. *
* * @param nodes * A list of the the Glue components belong to the workflow represented as nodes. */ public void setNodes(java.util.Collection* A list of the the Glue components belong to the workflow represented as nodes. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setNodes(java.util.Collection)} or {@link #withNodes(java.util.Collection)} if you want to override the * existing values. *
* * @param nodes * A list of the the Glue components belong to the workflow represented as nodes. * @return Returns a reference to this object so that method calls can be chained together. */ public WorkflowGraph withNodes(Node... nodes) { if (this.nodes == null) { setNodes(new java.util.ArrayList* A list of the the Glue components belong to the workflow represented as nodes. *
* * @param nodes * A list of the the Glue components belong to the workflow represented as nodes. * @return Returns a reference to this object so that method calls can be chained together. */ public WorkflowGraph withNodes(java.util.Collection* A list of all the directed connections between the nodes belonging to the workflow. *
* * @return A list of all the directed connections between the nodes belonging to the workflow. */ public java.util.List* A list of all the directed connections between the nodes belonging to the workflow. *
* * @param edges * A list of all the directed connections between the nodes belonging to the workflow. */ public void setEdges(java.util.Collection* A list of all the directed connections between the nodes belonging to the workflow. *
** 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 * A list of all the directed connections between the nodes belonging to the workflow. * @return Returns a reference to this object so that method calls can be chained together. */ public WorkflowGraph withEdges(Edge... edges) { if (this.edges == null) { setEdges(new java.util.ArrayList* A list of all the directed connections between the nodes belonging to the workflow. *
* * @param edges * A list of all the directed connections between the nodes belonging to the workflow. * @return Returns a reference to this object so that method calls can be chained together. */ public WorkflowGraph withEdges(java.util.Collection