All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.azure.messaging.eventgrid.systemevents.IotHubDeviceConnectedEventData Maven / Gradle / Ivy

There is a newer version: 4.27.0
Show newest version
// 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.DeviceConnected event. */
@Fluent
public final class IotHubDeviceConnectedEventData extends DeviceConnectionStateEventProperties {
    /** Creates an instance of IotHubDeviceConnectedEventData class. */
    public IotHubDeviceConnectedEventData() {}

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

    /** {@inheritDoc} */
    @Override
    public IotHubDeviceConnectedEventData setModuleId(String moduleId) {
        super.setModuleId(moduleId);
        return this;
    }

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

    /** {@inheritDoc} */
    @Override
    public IotHubDeviceConnectedEventData setDeviceConnectionStateEventInfo(
            DeviceConnectionStateEventInfo deviceConnectionStateEventInfo) {
        super.setDeviceConnectionStateEventInfo(deviceConnectionStateEventInfo);
        return this;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy