/* * 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.iotfleetwise.model; import java.io.Serializable; import javax.annotation.Generated; import com.amazonaws.protocol.StructuredPojo; import com.amazonaws.protocol.ProtocolMarshaller; /** *
* Configurations used to create a decoder manifest. *
* * @see AWS API * Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class CanDbcDefinition implements Serializable, Cloneable, StructuredPojo { /** ** Contains information about a network interface. *
*/ private String networkInterface; /** ** A list of DBC files. You can upload only one DBC file for each network interface and specify up to five * (inclusive) files in the list. *
*/ private java.util.List* Pairs every signal specified in your vehicle model with a signal decoder. *
*/ private java.util.Map* Contains information about a network interface. *
* * @param networkInterface * Contains information about a network interface. */ public void setNetworkInterface(String networkInterface) { this.networkInterface = networkInterface; } /** ** Contains information about a network interface. *
* * @return Contains information about a network interface. */ public String getNetworkInterface() { return this.networkInterface; } /** ** Contains information about a network interface. *
* * @param networkInterface * Contains information about a network interface. * @return Returns a reference to this object so that method calls can be chained together. */ public CanDbcDefinition withNetworkInterface(String networkInterface) { setNetworkInterface(networkInterface); return this; } /** ** A list of DBC files. You can upload only one DBC file for each network interface and specify up to five * (inclusive) files in the list. *
* * @return A list of DBC files. You can upload only one DBC file for each network interface and specify up to five * (inclusive) files in the list. */ public java.util.List* A list of DBC files. You can upload only one DBC file for each network interface and specify up to five * (inclusive) files in the list. *
* * @param canDbcFiles * A list of DBC files. You can upload only one DBC file for each network interface and specify up to five * (inclusive) files in the list. */ public void setCanDbcFiles(java.util.Collection* A list of DBC files. You can upload only one DBC file for each network interface and specify up to five * (inclusive) files in the list. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setCanDbcFiles(java.util.Collection)} or {@link #withCanDbcFiles(java.util.Collection)} if you want to * override the existing values. *
* * @param canDbcFiles * A list of DBC files. You can upload only one DBC file for each network interface and specify up to five * (inclusive) files in the list. * @return Returns a reference to this object so that method calls can be chained together. */ public CanDbcDefinition withCanDbcFiles(java.nio.ByteBuffer... canDbcFiles) { if (this.canDbcFiles == null) { setCanDbcFiles(new java.util.ArrayList* A list of DBC files. You can upload only one DBC file for each network interface and specify up to five * (inclusive) files in the list. *
* * @param canDbcFiles * A list of DBC files. You can upload only one DBC file for each network interface and specify up to five * (inclusive) files in the list. * @return Returns a reference to this object so that method calls can be chained together. */ public CanDbcDefinition withCanDbcFiles(java.util.Collection* Pairs every signal specified in your vehicle model with a signal decoder. *
* * @return Pairs every signal specified in your vehicle model with a signal decoder. */ public java.util.Map* Pairs every signal specified in your vehicle model with a signal decoder. *
* * @param signalsMap * Pairs every signal specified in your vehicle model with a signal decoder. */ public void setSignalsMap(java.util.Map* Pairs every signal specified in your vehicle model with a signal decoder. *
* * @param signalsMap * Pairs every signal specified in your vehicle model with a signal decoder. * @return Returns a reference to this object so that method calls can be chained together. */ public CanDbcDefinition withSignalsMap(java.util.Map