com.pulumi.azurenative.keyvault.outputs.PermissionsResponse 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.keyvault.outputs;
import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import javax.annotation.Nullable;
@CustomType
public final class PermissionsResponse {
/**
* @return Permissions to certificates
*
*/
private @Nullable List certificates;
/**
* @return Permissions to keys
*
*/
private @Nullable List keys;
/**
* @return Permissions to secrets
*
*/
private @Nullable List secrets;
/**
* @return Permissions to storage accounts
*
*/
private @Nullable List storage;
private PermissionsResponse() {}
/**
* @return Permissions to certificates
*
*/
public List certificates() {
return this.certificates == null ? List.of() : this.certificates;
}
/**
* @return Permissions to keys
*
*/
public List keys() {
return this.keys == null ? List.of() : this.keys;
}
/**
* @return Permissions to secrets
*
*/
public List secrets() {
return this.secrets == null ? List.of() : this.secrets;
}
/**
* @return Permissions to storage accounts
*
*/
public List storage() {
return this.storage == null ? List.of() : this.storage;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(PermissionsResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable List certificates;
private @Nullable List keys;
private @Nullable List secrets;
private @Nullable List storage;
public Builder() {}
public Builder(PermissionsResponse defaults) {
Objects.requireNonNull(defaults);
this.certificates = defaults.certificates;
this.keys = defaults.keys;
this.secrets = defaults.secrets;
this.storage = defaults.storage;
}
@CustomType.Setter
public Builder certificates(@Nullable List certificates) {
this.certificates = certificates;
return this;
}
public Builder certificates(String... certificates) {
return certificates(List.of(certificates));
}
@CustomType.Setter
public Builder keys(@Nullable List keys) {
this.keys = keys;
return this;
}
public Builder keys(String... keys) {
return keys(List.of(keys));
}
@CustomType.Setter
public Builder secrets(@Nullable List secrets) {
this.secrets = secrets;
return this;
}
public Builder secrets(String... secrets) {
return secrets(List.of(secrets));
}
@CustomType.Setter
public Builder storage(@Nullable List storage) {
this.storage = storage;
return this;
}
public Builder storage(String... storage) {
return storage(List.of(storage));
}
public PermissionsResponse build() {
final var _resultValue = new PermissionsResponse();
_resultValue.certificates = certificates;
_resultValue.keys = keys;
_resultValue.secrets = secrets;
_resultValue.storage = storage;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy