/* * 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.migrationhubstrategyrecommendations.model; import java.io.Serializable; import javax.annotation.Generated; import com.amazonaws.protocol.StructuredPojo; import com.amazonaws.protocol.ProtocolMarshaller; /** *
* Summary of the collector configuration. *
* * @see AWS API Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class ConfigurationSummary implements Serializable, Cloneable, StructuredPojo { /** ** IP address based configurations. *
*/ private java.util.List* The list of pipeline info configurations. *
*/ private java.util.List* Info about the remote server source code configuration. *
*/ private RemoteSourceCodeAnalysisServerInfo remoteSourceCodeAnalysisServerInfo; /** ** The list of vCenter configurations. *
*/ private java.util.List* The list of the version control configurations. *
*/ private java.util.List* IP address based configurations. *
* * @return IP address based configurations. */ public java.util.List* IP address based configurations. *
* * @param ipAddressBasedRemoteInfoList * IP address based configurations. */ public void setIpAddressBasedRemoteInfoList(java.util.Collection* IP address based configurations. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setIpAddressBasedRemoteInfoList(java.util.Collection)} or * {@link #withIpAddressBasedRemoteInfoList(java.util.Collection)} if you want to override the existing values. *
* * @param ipAddressBasedRemoteInfoList * IP address based configurations. * @return Returns a reference to this object so that method calls can be chained together. */ public ConfigurationSummary withIpAddressBasedRemoteInfoList(IPAddressBasedRemoteInfo... ipAddressBasedRemoteInfoList) { if (this.ipAddressBasedRemoteInfoList == null) { setIpAddressBasedRemoteInfoList(new java.util.ArrayList* IP address based configurations. *
* * @param ipAddressBasedRemoteInfoList * IP address based configurations. * @return Returns a reference to this object so that method calls can be chained together. */ public ConfigurationSummary withIpAddressBasedRemoteInfoList(java.util.Collection* The list of pipeline info configurations. *
* * @return The list of pipeline info configurations. */ public java.util.List* The list of pipeline info configurations. *
* * @param pipelineInfoList * The list of pipeline info configurations. */ public void setPipelineInfoList(java.util.Collection* The list of pipeline info configurations. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setPipelineInfoList(java.util.Collection)} or {@link #withPipelineInfoList(java.util.Collection)} if you * want to override the existing values. *
* * @param pipelineInfoList * The list of pipeline info configurations. * @return Returns a reference to this object so that method calls can be chained together. */ public ConfigurationSummary withPipelineInfoList(PipelineInfo... pipelineInfoList) { if (this.pipelineInfoList == null) { setPipelineInfoList(new java.util.ArrayList* The list of pipeline info configurations. *
* * @param pipelineInfoList * The list of pipeline info configurations. * @return Returns a reference to this object so that method calls can be chained together. */ public ConfigurationSummary withPipelineInfoList(java.util.Collection* Info about the remote server source code configuration. *
* * @param remoteSourceCodeAnalysisServerInfo * Info about the remote server source code configuration. */ public void setRemoteSourceCodeAnalysisServerInfo(RemoteSourceCodeAnalysisServerInfo remoteSourceCodeAnalysisServerInfo) { this.remoteSourceCodeAnalysisServerInfo = remoteSourceCodeAnalysisServerInfo; } /** ** Info about the remote server source code configuration. *
* * @return Info about the remote server source code configuration. */ public RemoteSourceCodeAnalysisServerInfo getRemoteSourceCodeAnalysisServerInfo() { return this.remoteSourceCodeAnalysisServerInfo; } /** ** Info about the remote server source code configuration. *
* * @param remoteSourceCodeAnalysisServerInfo * Info about the remote server source code configuration. * @return Returns a reference to this object so that method calls can be chained together. */ public ConfigurationSummary withRemoteSourceCodeAnalysisServerInfo(RemoteSourceCodeAnalysisServerInfo remoteSourceCodeAnalysisServerInfo) { setRemoteSourceCodeAnalysisServerInfo(remoteSourceCodeAnalysisServerInfo); return this; } /** ** The list of vCenter configurations. *
* * @return The list of vCenter configurations. */ public java.util.List* The list of vCenter configurations. *
* * @param vcenterBasedRemoteInfoList * The list of vCenter configurations. */ public void setVcenterBasedRemoteInfoList(java.util.Collection* The list of vCenter configurations. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setVcenterBasedRemoteInfoList(java.util.Collection)} or * {@link #withVcenterBasedRemoteInfoList(java.util.Collection)} if you want to override the existing values. *
* * @param vcenterBasedRemoteInfoList * The list of vCenter configurations. * @return Returns a reference to this object so that method calls can be chained together. */ public ConfigurationSummary withVcenterBasedRemoteInfoList(VcenterBasedRemoteInfo... vcenterBasedRemoteInfoList) { if (this.vcenterBasedRemoteInfoList == null) { setVcenterBasedRemoteInfoList(new java.util.ArrayList* The list of vCenter configurations. *
* * @param vcenterBasedRemoteInfoList * The list of vCenter configurations. * @return Returns a reference to this object so that method calls can be chained together. */ public ConfigurationSummary withVcenterBasedRemoteInfoList(java.util.Collection* The list of the version control configurations. *
* * @return The list of the version control configurations. */ public java.util.List* The list of the version control configurations. *
* * @param versionControlInfoList * The list of the version control configurations. */ public void setVersionControlInfoList(java.util.Collection* The list of the version control configurations. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setVersionControlInfoList(java.util.Collection)} or * {@link #withVersionControlInfoList(java.util.Collection)} if you want to override the existing values. *
* * @param versionControlInfoList * The list of the version control configurations. * @return Returns a reference to this object so that method calls can be chained together. */ public ConfigurationSummary withVersionControlInfoList(VersionControlInfo... versionControlInfoList) { if (this.versionControlInfoList == null) { setVersionControlInfoList(new java.util.ArrayList* The list of the version control configurations. *
* * @param versionControlInfoList * The list of the version control configurations. * @return Returns a reference to this object so that method calls can be chained together. */ public ConfigurationSummary withVersionControlInfoList(java.util.Collection