// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.

package com.azure.messaging.eventgrid.systemevents;

import com.azure.core.annotation.Fluent;

/** Event data for Microsoft.Devices.DeviceCreated event. */
@Fluent
public final class IotHubDeviceCreatedEventData extends DeviceLifeCycleEventProperties {
    /** Creates an instance of IotHubDeviceCreatedEventData class. */
    public IotHubDeviceCreatedEventData() {}

    /** {@inheritDoc} */
    @Override
    public IotHubDeviceCreatedEventData setDeviceId(String deviceId) {
        super.setDeviceId(deviceId);
        return this;
    }

    /** {@inheritDoc} */
    @Override
    public IotHubDeviceCreatedEventData setHubName(String hubName) {
        super.setHubName(hubName);
        return this;
    }

    /** {@inheritDoc} */
    @Override
    public IotHubDeviceCreatedEventData setTwin(DeviceTwinInfo twin) {
        super.setTwin(twin);
        return this;
    }
}
