com.pulumi.azurenative.iotoperationsmq.outputs.LocalBrokerKubernetesAuthenticationResponse 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.iotoperationsmq.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 LocalBrokerKubernetesAuthenticationResponse {
/**
* @return Secret Path where SAT is mounted.
*
*/
private @Nullable String secretPath;
/**
* @return Token name where SAT is mounted on secret path.
*
*/
private @Nullable String serviceAccountTokenName;
private LocalBrokerKubernetesAuthenticationResponse() {}
/**
* @return Secret Path where SAT is mounted.
*
*/
public Optional secretPath() {
return Optional.ofNullable(this.secretPath);
}
/**
* @return Token name where SAT is mounted on secret path.
*
*/
public Optional serviceAccountTokenName() {
return Optional.ofNullable(this.serviceAccountTokenName);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(LocalBrokerKubernetesAuthenticationResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String secretPath;
private @Nullable String serviceAccountTokenName;
public Builder() {}
public Builder(LocalBrokerKubernetesAuthenticationResponse defaults) {
Objects.requireNonNull(defaults);
this.secretPath = defaults.secretPath;
this.serviceAccountTokenName = defaults.serviceAccountTokenName;
}
@CustomType.Setter
public Builder secretPath(@Nullable String secretPath) {
this.secretPath = secretPath;
return this;
}
@CustomType.Setter
public Builder serviceAccountTokenName(@Nullable String serviceAccountTokenName) {
this.serviceAccountTokenName = serviceAccountTokenName;
return this;
}
public LocalBrokerKubernetesAuthenticationResponse build() {
final var _resultValue = new LocalBrokerKubernetesAuthenticationResponse();
_resultValue.secretPath = secretPath;
_resultValue.serviceAccountTokenName = serviceAccountTokenName;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy