
com.pulumi.azurenative.kubernetesconfiguration.outputs.BucketDefinitionResponse 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.kubernetesconfiguration.outputs;
import com.pulumi.core.annotations.CustomType;
import java.lang.Boolean;
import java.lang.Double;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class BucketDefinitionResponse {
/**
* @return Plaintext access key used to securely access the S3 bucket
*
*/
private @Nullable String accessKey;
/**
* @return The bucket name to sync from the url endpoint for the flux configuration.
*
*/
private @Nullable String bucketName;
/**
* @return Specify whether to use insecure communication when puling data from the S3 bucket.
*
*/
private @Nullable Boolean insecure;
/**
* @return Name of a local secret on the Kubernetes cluster to use as the authentication secret rather than the managed or user-provided configuration secrets.
*
*/
private @Nullable String localAuthRef;
/**
* @return The interval at which to re-reconcile the cluster bucket source with the remote.
*
*/
private @Nullable Double syncIntervalInSeconds;
/**
* @return The maximum time to attempt to reconcile the cluster bucket source with the remote.
*
*/
private @Nullable Double timeoutInSeconds;
/**
* @return The URL to sync for the flux configuration S3 bucket.
*
*/
private @Nullable String url;
private BucketDefinitionResponse() {}
/**
* @return Plaintext access key used to securely access the S3 bucket
*
*/
public Optional accessKey() {
return Optional.ofNullable(this.accessKey);
}
/**
* @return The bucket name to sync from the url endpoint for the flux configuration.
*
*/
public Optional bucketName() {
return Optional.ofNullable(this.bucketName);
}
/**
* @return Specify whether to use insecure communication when puling data from the S3 bucket.
*
*/
public Optional insecure() {
return Optional.ofNullable(this.insecure);
}
/**
* @return Name of a local secret on the Kubernetes cluster to use as the authentication secret rather than the managed or user-provided configuration secrets.
*
*/
public Optional localAuthRef() {
return Optional.ofNullable(this.localAuthRef);
}
/**
* @return The interval at which to re-reconcile the cluster bucket source with the remote.
*
*/
public Optional syncIntervalInSeconds() {
return Optional.ofNullable(this.syncIntervalInSeconds);
}
/**
* @return The maximum time to attempt to reconcile the cluster bucket source with the remote.
*
*/
public Optional timeoutInSeconds() {
return Optional.ofNullable(this.timeoutInSeconds);
}
/**
* @return The URL to sync for the flux configuration S3 bucket.
*
*/
public Optional url() {
return Optional.ofNullable(this.url);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(BucketDefinitionResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String accessKey;
private @Nullable String bucketName;
private @Nullable Boolean insecure;
private @Nullable String localAuthRef;
private @Nullable Double syncIntervalInSeconds;
private @Nullable Double timeoutInSeconds;
private @Nullable String url;
public Builder() {}
public Builder(BucketDefinitionResponse defaults) {
Objects.requireNonNull(defaults);
this.accessKey = defaults.accessKey;
this.bucketName = defaults.bucketName;
this.insecure = defaults.insecure;
this.localAuthRef = defaults.localAuthRef;
this.syncIntervalInSeconds = defaults.syncIntervalInSeconds;
this.timeoutInSeconds = defaults.timeoutInSeconds;
this.url = defaults.url;
}
@CustomType.Setter
public Builder accessKey(@Nullable String accessKey) {
this.accessKey = accessKey;
return this;
}
@CustomType.Setter
public Builder bucketName(@Nullable String bucketName) {
this.bucketName = bucketName;
return this;
}
@CustomType.Setter
public Builder insecure(@Nullable Boolean insecure) {
this.insecure = insecure;
return this;
}
@CustomType.Setter
public Builder localAuthRef(@Nullable String localAuthRef) {
this.localAuthRef = localAuthRef;
return this;
}
@CustomType.Setter
public Builder syncIntervalInSeconds(@Nullable Double syncIntervalInSeconds) {
this.syncIntervalInSeconds = syncIntervalInSeconds;
return this;
}
@CustomType.Setter
public Builder timeoutInSeconds(@Nullable Double timeoutInSeconds) {
this.timeoutInSeconds = timeoutInSeconds;
return this;
}
@CustomType.Setter
public Builder url(@Nullable String url) {
this.url = url;
return this;
}
public BucketDefinitionResponse build() {
final var _resultValue = new BucketDefinitionResponse();
_resultValue.accessKey = accessKey;
_resultValue.bucketName = bucketName;
_resultValue.insecure = insecure;
_resultValue.localAuthRef = localAuthRef;
_resultValue.syncIntervalInSeconds = syncIntervalInSeconds;
_resultValue.timeoutInSeconds = timeoutInSeconds;
_resultValue.url = url;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy