com.pulumi.azurenative.workloads.outputs.UserAssignedServiceIdentityResponse 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.
The newest version!
// *** 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.UserAssignedIdentityResponse;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Map;
import java.util.Objects;
import javax.annotation.Nullable;
@CustomType
public final class UserAssignedServiceIdentityResponse {
/**
* @return Type of manage identity
*
*/
private String type;
/**
* @return User assigned identities dictionary
*
*/
private @Nullable Map userAssignedIdentities;
private UserAssignedServiceIdentityResponse() {}
/**
* @return Type of manage identity
*
*/
public String type() {
return this.type;
}
/**
* @return User assigned identities dictionary
*
*/
public Map userAssignedIdentities() {
return this.userAssignedIdentities == null ? Map.of() : this.userAssignedIdentities;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(UserAssignedServiceIdentityResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String type;
private @Nullable Map userAssignedIdentities;
public Builder() {}
public Builder(UserAssignedServiceIdentityResponse defaults) {
Objects.requireNonNull(defaults);
this.type = defaults.type;
this.userAssignedIdentities = defaults.userAssignedIdentities;
}
@CustomType.Setter
public Builder type(String type) {
if (type == null) {
throw new MissingRequiredPropertyException("UserAssignedServiceIdentityResponse", "type");
}
this.type = type;
return this;
}
@CustomType.Setter
public Builder userAssignedIdentities(@Nullable Map userAssignedIdentities) {
this.userAssignedIdentities = userAssignedIdentities;
return this;
}
public UserAssignedServiceIdentityResponse build() {
final var _resultValue = new UserAssignedServiceIdentityResponse();
_resultValue.type = type;
_resultValue.userAssignedIdentities = userAssignedIdentities;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy