com.pulumi.azurenative.workloads.outputs.UserAssignedManagedIdentityDetailsResponse Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-native Show documentation
Show all versions of azure-native Show documentation
A native Pulumi package for creating and managing Azure resources.
// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
package com.pulumi.azurenative.workloads.outputs;
import com.pulumi.azurenative.workloads.outputs.UserAssignedIdentityPropertiesResponse;
import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class UserAssignedManagedIdentityDetailsResponse {
private @Nullable String identityArmId;
private @Nullable String identityName;
/**
* @return User assigned managed identity properties.
*
*/
private @Nullable UserAssignedIdentityPropertiesResponse userAssignedIdentityProperties;
private UserAssignedManagedIdentityDetailsResponse() {}
public Optional identityArmId() {
return Optional.ofNullable(this.identityArmId);
}
public Optional identityName() {
return Optional.ofNullable(this.identityName);
}
/**
* @return User assigned managed identity properties.
*
*/
public Optional userAssignedIdentityProperties() {
return Optional.ofNullable(this.userAssignedIdentityProperties);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(UserAssignedManagedIdentityDetailsResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String identityArmId;
private @Nullable String identityName;
private @Nullable UserAssignedIdentityPropertiesResponse userAssignedIdentityProperties;
public Builder() {}
public Builder(UserAssignedManagedIdentityDetailsResponse defaults) {
Objects.requireNonNull(defaults);
this.identityArmId = defaults.identityArmId;
this.identityName = defaults.identityName;
this.userAssignedIdentityProperties = defaults.userAssignedIdentityProperties;
}
@CustomType.Setter
public Builder identityArmId(@Nullable String identityArmId) {
this.identityArmId = identityArmId;
return this;
}
@CustomType.Setter
public Builder identityName(@Nullable String identityName) {
this.identityName = identityName;
return this;
}
@CustomType.Setter
public Builder userAssignedIdentityProperties(@Nullable UserAssignedIdentityPropertiesResponse userAssignedIdentityProperties) {
this.userAssignedIdentityProperties = userAssignedIdentityProperties;
return this;
}
public UserAssignedManagedIdentityDetailsResponse build() {
final var _resultValue = new UserAssignedManagedIdentityDetailsResponse();
_resultValue.identityArmId = identityArmId;
_resultValue.identityName = identityName;
_resultValue.userAssignedIdentityProperties = userAssignedIdentityProperties;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy