/* * 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.AmazonWebServiceRequest; /** * * @see AWS * API Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class CreateDecoderManifestRequest extends com.amazonaws.AmazonWebServiceRequest implements Serializable, Cloneable { /** *
* The unique name of the decoder manifest to create. *
*/ private String name; /** ** A brief description of the decoder manifest. *
*/ private String description; /** ** The Amazon Resource Name (ARN) of the vehicle model (model manifest). *
*/ private String modelManifestArn; /** ** A list of information about signal decoders. *
*/ private java.util.List* A list of information about available network interfaces. *
*/ private java.util.List* Metadata that can be used to manage the decoder manifest. *
*/ private java.util.List* The unique name of the decoder manifest to create. *
* * @param name * The unique name of the decoder manifest to create. */ public void setName(String name) { this.name = name; } /** ** The unique name of the decoder manifest to create. *
* * @return The unique name of the decoder manifest to create. */ public String getName() { return this.name; } /** ** The unique name of the decoder manifest to create. *
* * @param name * The unique name of the decoder manifest to create. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateDecoderManifestRequest withName(String name) { setName(name); return this; } /** ** A brief description of the decoder manifest. *
* * @param description * A brief description of the decoder manifest. */ public void setDescription(String description) { this.description = description; } /** ** A brief description of the decoder manifest. *
* * @return A brief description of the decoder manifest. */ public String getDescription() { return this.description; } /** ** A brief description of the decoder manifest. *
* * @param description * A brief description of the decoder manifest. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateDecoderManifestRequest withDescription(String description) { setDescription(description); return this; } /** ** The Amazon Resource Name (ARN) of the vehicle model (model manifest). *
* * @param modelManifestArn * The Amazon Resource Name (ARN) of the vehicle model (model manifest). */ public void setModelManifestArn(String modelManifestArn) { this.modelManifestArn = modelManifestArn; } /** ** The Amazon Resource Name (ARN) of the vehicle model (model manifest). *
* * @return The Amazon Resource Name (ARN) of the vehicle model (model manifest). */ public String getModelManifestArn() { return this.modelManifestArn; } /** ** The Amazon Resource Name (ARN) of the vehicle model (model manifest). *
* * @param modelManifestArn * The Amazon Resource Name (ARN) of the vehicle model (model manifest). * @return Returns a reference to this object so that method calls can be chained together. */ public CreateDecoderManifestRequest withModelManifestArn(String modelManifestArn) { setModelManifestArn(modelManifestArn); return this; } /** ** A list of information about signal decoders. *
* * @return A list of information about signal decoders. */ public java.util.List* A list of information about signal decoders. *
* * @param signalDecoders * A list of information about signal decoders. */ public void setSignalDecoders(java.util.Collection* A list of information about signal decoders. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setSignalDecoders(java.util.Collection)} or {@link #withSignalDecoders(java.util.Collection)} if you want * to override the existing values. *
* * @param signalDecoders * A list of information about signal decoders. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateDecoderManifestRequest withSignalDecoders(SignalDecoder... signalDecoders) { if (this.signalDecoders == null) { setSignalDecoders(new java.util.ArrayList* A list of information about signal decoders. *
* * @param signalDecoders * A list of information about signal decoders. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateDecoderManifestRequest withSignalDecoders(java.util.Collection* A list of information about available network interfaces. *
* * @return A list of information about available network interfaces. */ public java.util.List* A list of information about available network interfaces. *
* * @param networkInterfaces * A list of information about available network interfaces. */ public void setNetworkInterfaces(java.util.Collection* A list of information about available network interfaces. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setNetworkInterfaces(java.util.Collection)} or {@link #withNetworkInterfaces(java.util.Collection)} if * you want to override the existing values. *
* * @param networkInterfaces * A list of information about available network interfaces. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateDecoderManifestRequest withNetworkInterfaces(NetworkInterface... networkInterfaces) { if (this.networkInterfaces == null) { setNetworkInterfaces(new java.util.ArrayList* A list of information about available network interfaces. *
* * @param networkInterfaces * A list of information about available network interfaces. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateDecoderManifestRequest withNetworkInterfaces(java.util.Collection* Metadata that can be used to manage the decoder manifest. *
* * @return Metadata that can be used to manage the decoder manifest. */ public java.util.List* Metadata that can be used to manage the decoder manifest. *
* * @param tags * Metadata that can be used to manage the decoder manifest. */ public void setTags(java.util.Collection* Metadata that can be used to manage the decoder manifest. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setTags(java.util.Collection)} or {@link #withTags(java.util.Collection)} if you want to override the * existing values. *
* * @param tags * Metadata that can be used to manage the decoder manifest. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateDecoderManifestRequest withTags(Tag... tags) { if (this.tags == null) { setTags(new java.util.ArrayList* Metadata that can be used to manage the decoder manifest. *
* * @param tags * Metadata that can be used to manage the decoder manifest. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateDecoderManifestRequest withTags(java.util.Collection