
com.azure.resourcemanager.eventgrid.models.CustomDomainIdentity 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;
/**
* The identity information for retrieving the certificate for the custom domain.
*/
@Fluent
public final class CustomDomainIdentity {
/*
* The type of managed identity used. Can be either 'SystemAssigned' or 'UserAssigned'.
*/
@JsonProperty(value = "type")
private CustomDomainIdentityType type;
/*
* The user identity associated with the resource.
*/
@JsonProperty(value = "userAssignedIdentity")
private String userAssignedIdentity;
/**
* Creates an instance of CustomDomainIdentity class.
*/
public CustomDomainIdentity() {
}
/**
* Get the type property: The type of managed identity used. Can be either 'SystemAssigned' or 'UserAssigned'.
*
* @return the type value.
*/
public CustomDomainIdentityType type() {
return this.type;
}
/**
* Set the type property: The type of managed identity used. Can be either 'SystemAssigned' or 'UserAssigned'.
*
* @param type the type value to set.
* @return the CustomDomainIdentity object itself.
*/
public CustomDomainIdentity withType(CustomDomainIdentityType type) {
this.type = type;
return this;
}
/**
* Get the userAssignedIdentity property: The user identity associated with the resource.
*
* @return the userAssignedIdentity value.
*/
public String userAssignedIdentity() {
return this.userAssignedIdentity;
}
/**
* Set the userAssignedIdentity property: The user identity associated with the resource.
*
* @param userAssignedIdentity the userAssignedIdentity value to set.
* @return the CustomDomainIdentity object itself.
*/
public CustomDomainIdentity 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