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/alb/oas_commit
Original file line number Diff line number Diff line change
@@ -1 +1 @@
7651289307a7a9e2dc9947ef380df3c4ca80fa60
75b504fd557f38dfc6417930d507d1c93490237b
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,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 @@ -77,6 +82,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 Application Load Balancer. Defaults to false. Enable
* only when the Application 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 @@ -192,6 +218,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 @@ -203,6 +230,7 @@ public boolean equals(Object o) {
public int hashCode() {
return Objects.hash(
accessControl,
accessLogs,
ephemeralAddress,
observability,
privateNetworkOnly,
Expand All @@ -214,6 +242,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 @@ -246,6 +275,7 @@ private String toIndentedString(Object o) {
new HashSet<String>(
Arrays.asList(
"accessControl",
"accessLogs",
"ephemeralAddress",
"observability",
"privateNetworkOnly"));
Expand Down
Loading