/* * 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.snowdevicemanagement.model; import java.io.Serializable; import javax.annotation.Generated; import com.amazonaws.protocol.StructuredPojo; import com.amazonaws.protocol.ProtocolMarshaller; /** *
* Identifying information about the device. *
* * @see AWS API Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class DeviceSummary implements Serializable, Cloneable, StructuredPojo { /** ** The ID of the job used to order the device. *
*/ private String associatedWithJob; /** ** The Amazon Resource Name (ARN) of the device. *
*/ private String managedDeviceArn; /** ** The ID of the device. *
*/ private String managedDeviceId; /** ** Optional metadata that you assign to a resource. You can use tags to categorize a resource in different ways, * such as by purpose, owner, or environment. *
*/ private java.util.Map* The ID of the job used to order the device. *
* * @param associatedWithJob * The ID of the job used to order the device. */ public void setAssociatedWithJob(String associatedWithJob) { this.associatedWithJob = associatedWithJob; } /** ** The ID of the job used to order the device. *
* * @return The ID of the job used to order the device. */ public String getAssociatedWithJob() { return this.associatedWithJob; } /** ** The ID of the job used to order the device. *
* * @param associatedWithJob * The ID of the job used to order the device. * @return Returns a reference to this object so that method calls can be chained together. */ public DeviceSummary withAssociatedWithJob(String associatedWithJob) { setAssociatedWithJob(associatedWithJob); return this; } /** ** The Amazon Resource Name (ARN) of the device. *
* * @param managedDeviceArn * The Amazon Resource Name (ARN) of the device. */ public void setManagedDeviceArn(String managedDeviceArn) { this.managedDeviceArn = managedDeviceArn; } /** ** The Amazon Resource Name (ARN) of the device. *
* * @return The Amazon Resource Name (ARN) of the device. */ public String getManagedDeviceArn() { return this.managedDeviceArn; } /** ** The Amazon Resource Name (ARN) of the device. *
* * @param managedDeviceArn * The Amazon Resource Name (ARN) of the device. * @return Returns a reference to this object so that method calls can be chained together. */ public DeviceSummary withManagedDeviceArn(String managedDeviceArn) { setManagedDeviceArn(managedDeviceArn); return this; } /** ** The ID of the device. *
* * @param managedDeviceId * The ID of the device. */ public void setManagedDeviceId(String managedDeviceId) { this.managedDeviceId = managedDeviceId; } /** ** The ID of the device. *
* * @return The ID of the device. */ public String getManagedDeviceId() { return this.managedDeviceId; } /** ** The ID of the device. *
* * @param managedDeviceId * The ID of the device. * @return Returns a reference to this object so that method calls can be chained together. */ public DeviceSummary withManagedDeviceId(String managedDeviceId) { setManagedDeviceId(managedDeviceId); return this; } /** ** Optional metadata that you assign to a resource. You can use tags to categorize a resource in different ways, * such as by purpose, owner, or environment. *
* * @return Optional metadata that you assign to a resource. You can use tags to categorize a resource in different * ways, such as by purpose, owner, or environment. */ public java.util.Map* Optional metadata that you assign to a resource. You can use tags to categorize a resource in different ways, * such as by purpose, owner, or environment. *
* * @param tags * Optional metadata that you assign to a resource. You can use tags to categorize a resource in different * ways, such as by purpose, owner, or environment. */ public void setTags(java.util.Map* Optional metadata that you assign to a resource. You can use tags to categorize a resource in different ways, * such as by purpose, owner, or environment. *
* * @param tags * Optional metadata that you assign to a resource. You can use tags to categorize a resource in different * ways, such as by purpose, owner, or environment. * @return Returns a reference to this object so that method calls can be chained together. */ public DeviceSummary withTags(java.util.Map