
com.pulumi.azurenative.automation.outputs.ListKeyByAutomationAccountResult 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.automation.outputs;
import com.pulumi.azurenative.automation.outputs.KeyResponse;
import com.pulumi.core.annotations.CustomType;
import java.util.List;
import java.util.Objects;
import javax.annotation.Nullable;
@CustomType
public final class ListKeyByAutomationAccountResult {
/**
* @return Lists the automation keys.
*
*/
private @Nullable List keys;
private ListKeyByAutomationAccountResult() {}
/**
* @return Lists the automation keys.
*
*/
public List keys() {
return this.keys == null ? List.of() : this.keys;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(ListKeyByAutomationAccountResult defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable List keys;
public Builder() {}
public Builder(ListKeyByAutomationAccountResult defaults) {
Objects.requireNonNull(defaults);
this.keys = defaults.keys;
}
@CustomType.Setter
public Builder keys(@Nullable List keys) {
this.keys = keys;
return this;
}
public Builder keys(KeyResponse... keys) {
return keys(List.of(keys));
}
public ListKeyByAutomationAccountResult build() {
final var _resultValue = new ListKeyByAutomationAccountResult();
_resultValue.keys = keys;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy