
com.azure.resourcemanager.eventgrid.models.RoutingIdentityInfo Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-resourcemanager-eventgrid Show documentation
Show all versions of azure-resourcemanager-eventgrid Show documentation
This package contains Microsoft Azure SDK for EventGrid Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. Azure EventGrid Management Client. Package tag package-2021-10-preview.
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.resourcemanager.eventgrid.models;
import com.azure.core.annotation.Fluent;
import com.fasterxml.jackson.annotation.JsonProperty;
/**
* Routing identity info for topic spaces configuration.
*/
@Fluent
public final class RoutingIdentityInfo {
/*
* Routing identity type for topic spaces configuration.
*/
@JsonProperty(value = "type")
private RoutingIdentityType type;
/*
* The userAssignedIdentity property.
*/
@JsonProperty(value = "userAssignedIdentity")
private String userAssignedIdentity;
/**
* Creates an instance of RoutingIdentityInfo class.
*/
public RoutingIdentityInfo() {
}
/**
* Get the type property: Routing identity type for topic spaces configuration.
*
* @return the type value.
*/
public RoutingIdentityType type() {
return this.type;
}
/**
* Set the type property: Routing identity type for topic spaces configuration.
*
* @param type the type value to set.
* @return the RoutingIdentityInfo object itself.
*/
public RoutingIdentityInfo withType(RoutingIdentityType type) {
this.type = type;
return this;
}
/**
* Get the userAssignedIdentity property: The userAssignedIdentity property.
*
* @return the userAssignedIdentity value.
*/
public String userAssignedIdentity() {
return this.userAssignedIdentity;
}
/**
* Set the userAssignedIdentity property: The userAssignedIdentity property.
*
* @param userAssignedIdentity the userAssignedIdentity value to set.
* @return the RoutingIdentityInfo object itself.
*/
public RoutingIdentityInfo withUserAssignedIdentity(String userAssignedIdentity) {
this.userAssignedIdentity = userAssignedIdentity;
return this;
}
/**
* Validates the instance.
*
* @throws IllegalArgumentException thrown if the instance is not valid.
*/
public void validate() {
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy