
com.pulumi.azurenative.relay.outputs.ConnectionStateResponse 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.
// *** 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.relay.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 ConnectionStateResponse {
/**
* @return Description of the connection state.
*
*/
private @Nullable String description;
/**
* @return Status of the connection.
*
*/
private @Nullable String status;
private ConnectionStateResponse() {}
/**
* @return Description of the connection state.
*
*/
public Optional description() {
return Optional.ofNullable(this.description);
}
/**
* @return Status of the connection.
*
*/
public Optional status() {
return Optional.ofNullable(this.status);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(ConnectionStateResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String description;
private @Nullable String status;
public Builder() {}
public Builder(ConnectionStateResponse defaults) {
Objects.requireNonNull(defaults);
this.description = defaults.description;
this.status = defaults.status;
}
@CustomType.Setter
public Builder description(@Nullable String description) {
this.description = description;
return this;
}
@CustomType.Setter
public Builder status(@Nullable String status) {
this.status = status;
return this;
}
public ConnectionStateResponse build() {
final var _resultValue = new ConnectionStateResponse();
_resultValue.description = description;
_resultValue.status = status;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy