com.pulumi.digitalocean.outputs.GetAppSpecJobLogDestinationPapertrail Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of digitalocean Show documentation
Show all versions of digitalocean Show documentation
A Pulumi package for creating and managing DigitalOcean cloud 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.digitalocean.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
@CustomType
public final class GetAppSpecJobLogDestinationPapertrail {
/**
* @return OpenSearch API Endpoint. Only HTTPS is supported. Format: https://<host>:<port>.
*
*/
private String endpoint;
private GetAppSpecJobLogDestinationPapertrail() {}
/**
* @return OpenSearch API Endpoint. Only HTTPS is supported. Format: https://<host>:<port>.
*
*/
public String endpoint() {
return this.endpoint;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetAppSpecJobLogDestinationPapertrail defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String endpoint;
public Builder() {}
public Builder(GetAppSpecJobLogDestinationPapertrail defaults) {
Objects.requireNonNull(defaults);
this.endpoint = defaults.endpoint;
}
@CustomType.Setter
public Builder endpoint(String endpoint) {
if (endpoint == null) {
throw new MissingRequiredPropertyException("GetAppSpecJobLogDestinationPapertrail", "endpoint");
}
this.endpoint = endpoint;
return this;
}
public GetAppSpecJobLogDestinationPapertrail build() {
final var _resultValue = new GetAppSpecJobLogDestinationPapertrail();
_resultValue.endpoint = endpoint;
return _resultValue;
}
}
}