
com.pulumi.azurenative.fluidrelay.outputs.CustomerManagedKeyEncryptionPropertiesResponseKeyEncryptionKeyIdentity Maven / Gradle / Ivy
// *** 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.fluidrelay.outputs;
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 CustomerManagedKeyEncryptionPropertiesResponseKeyEncryptionKeyIdentity {
/**
* @return Values can be SystemAssigned or UserAssigned
*
*/
private @Nullable String identityType;
/**
* @return user assigned identity to use for accessing key encryption key Url. Ex: /subscriptions/fa5fc227-a624-475e-b696-cdd604c735bc/resourceGroups/<resource group>/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myId. Mutually exclusive with identityType systemAssignedIdentity.
*
*/
private @Nullable String userAssignedIdentityResourceId;
private CustomerManagedKeyEncryptionPropertiesResponseKeyEncryptionKeyIdentity() {}
/**
* @return Values can be SystemAssigned or UserAssigned
*
*/
public Optional identityType() {
return Optional.ofNullable(this.identityType);
}
/**
* @return user assigned identity to use for accessing key encryption key Url. Ex: /subscriptions/fa5fc227-a624-475e-b696-cdd604c735bc/resourceGroups/<resource group>/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myId. Mutually exclusive with identityType systemAssignedIdentity.
*
*/
public Optional userAssignedIdentityResourceId() {
return Optional.ofNullable(this.userAssignedIdentityResourceId);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(CustomerManagedKeyEncryptionPropertiesResponseKeyEncryptionKeyIdentity defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String identityType;
private @Nullable String userAssignedIdentityResourceId;
public Builder() {}
public Builder(CustomerManagedKeyEncryptionPropertiesResponseKeyEncryptionKeyIdentity defaults) {
Objects.requireNonNull(defaults);
this.identityType = defaults.identityType;
this.userAssignedIdentityResourceId = defaults.userAssignedIdentityResourceId;
}
@CustomType.Setter
public Builder identityType(@Nullable String identityType) {
this.identityType = identityType;
return this;
}
@CustomType.Setter
public Builder userAssignedIdentityResourceId(@Nullable String userAssignedIdentityResourceId) {
this.userAssignedIdentityResourceId = userAssignedIdentityResourceId;
return this;
}
public CustomerManagedKeyEncryptionPropertiesResponseKeyEncryptionKeyIdentity build() {
final var _resultValue = new CustomerManagedKeyEncryptionPropertiesResponseKeyEncryptionKeyIdentity();
_resultValue.identityType = identityType;
_resultValue.userAssignedIdentityResourceId = userAssignedIdentityResourceId;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy