Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion services/loadbalancer/oas_commit
Original file line number Diff line number Diff line change
@@ -1 +1 @@
f5a2c1cbdac2b440d8dc8bfa89af5ca4cd9cc89d
373f38ba6f61daffff490fba72c6af67c281607b
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,11 @@ public class LoadBalancerOptions {
@SerializedName(SERIALIZED_NAME_ACCESS_CONTROL)
@javax.annotation.Nullable private LoadbalancerOptionAccessControl accessControl;

public static final String SERIALIZED_NAME_ACCESS_LOGS = "accessLogs";

@SerializedName(SERIALIZED_NAME_ACCESS_LOGS)
@javax.annotation.Nullable private Boolean accessLogs;

public static final String SERIALIZED_NAME_EPHEMERAL_ADDRESS = "ephemeralAddress";

@SerializedName(SERIALIZED_NAME_EPHEMERAL_ADDRESS)
Expand Down Expand Up @@ -75,6 +80,27 @@ public void setAccessControl(
this.accessControl = accessControl;
}

public LoadBalancerOptions accessLogs(@javax.annotation.Nullable Boolean accessLogs) {
this.accessLogs = accessLogs;
return this;
}

/**
* Enable per-request access logs on the Load Balancer. Defaults to false. Enable only when the
* Load Balancer's expected traffic volume can be sustained by the downstream logging
* pipeline, as access-log volume scales linearly with request rate. Requires STACKIT Telemetry
* Hub or STACKIT Observability to be set up for the logs to be viewable.
*
* @return accessLogs
*/
@javax.annotation.Nullable public Boolean getAccessLogs() {
return accessLogs;
}

public void setAccessLogs(@javax.annotation.Nullable Boolean accessLogs) {
this.accessLogs = accessLogs;
}

public LoadBalancerOptions ephemeralAddress(
@javax.annotation.Nullable Boolean ephemeralAddress) {
this.ephemeralAddress = ephemeralAddress;
Expand Down Expand Up @@ -188,6 +214,7 @@ public boolean equals(Object o) {
}
LoadBalancerOptions loadBalancerOptions = (LoadBalancerOptions) o;
return Objects.equals(this.accessControl, loadBalancerOptions.accessControl)
&& Objects.equals(this.accessLogs, loadBalancerOptions.accessLogs)
&& Objects.equals(this.ephemeralAddress, loadBalancerOptions.ephemeralAddress)
&& Objects.equals(this.observability, loadBalancerOptions.observability)
&& Objects.equals(this.privateNetworkOnly, loadBalancerOptions.privateNetworkOnly)
Expand All @@ -199,6 +226,7 @@ public boolean equals(Object o) {
public int hashCode() {
return Objects.hash(
accessControl,
accessLogs,
ephemeralAddress,
observability,
privateNetworkOnly,
Expand All @@ -210,6 +238,7 @@ public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class LoadBalancerOptions {\n");
sb.append(" accessControl: ").append(toIndentedString(accessControl)).append("\n");
sb.append(" accessLogs: ").append(toIndentedString(accessLogs)).append("\n");
sb.append(" ephemeralAddress: ").append(toIndentedString(ephemeralAddress)).append("\n");
sb.append(" observability: ").append(toIndentedString(observability)).append("\n");
sb.append(" privateNetworkOnly: ")
Expand Down Expand Up @@ -242,6 +271,7 @@ private String toIndentedString(Object o) {
new HashSet<String>(
Arrays.asList(
"accessControl",
"accessLogs",
"ephemeralAddress",
"observability",
"privateNetworkOnly"));
Expand Down
Loading