com.azure.resourcemanager.recoveryservicesbackup.models.UserAssignedIdentityProperties Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-resourcemanager-recoveryservicesbackup Show documentation
Show all versions of azure-resourcemanager-recoveryservicesbackup Show documentation
This package contains Microsoft Azure SDK for RecoveryServicesBackup Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. Open API 2.0 Specs for Azure RecoveryServices Backup service. Package tag package-2024-04.
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.resourcemanager.recoveryservicesbackup.models;
import com.azure.core.annotation.Fluent;
import com.fasterxml.jackson.annotation.JsonProperty;
/**
* User assigned managed identity properties.
*/
@Fluent
public final class UserAssignedIdentityProperties {
/*
* The client ID of the assigned identity.
*/
@JsonProperty(value = "clientId")
private String clientId;
/*
* The principal ID of the assigned identity.
*/
@JsonProperty(value = "principalId")
private String principalId;
/**
* Creates an instance of UserAssignedIdentityProperties class.
*/
public UserAssignedIdentityProperties() {
}
/**
* Get the clientId property: The client ID of the assigned identity.
*
* @return the clientId value.
*/
public String clientId() {
return this.clientId;
}
/**
* Set the clientId property: The client ID of the assigned identity.
*
* @param clientId the clientId value to set.
* @return the UserAssignedIdentityProperties object itself.
*/
public UserAssignedIdentityProperties withClientId(String clientId) {
this.clientId = clientId;
return this;
}
/**
* Get the principalId property: The principal ID of the assigned identity.
*
* @return the principalId value.
*/
public String principalId() {
return this.principalId;
}
/**
* Set the principalId property: The principal ID of the assigned identity.
*
* @param principalId the principalId value to set.
* @return the UserAssignedIdentityProperties object itself.
*/
public UserAssignedIdentityProperties withPrincipalId(String principalId) {
this.principalId = principalId;
return this;
}
/**
* Validates the instance.
*
* @throws IllegalArgumentException thrown if the instance is not valid.
*/
public void validate() {
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy