
com.pulumi.azurenative.appplatform.inputs.TCPSocketActionArgs 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.appplatform.inputs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.core.internal.Codegen;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
/**
* TCPSocketAction describes an action based on opening a socket
*
*/
public final class TCPSocketActionArgs extends com.pulumi.resources.ResourceArgs {
public static final TCPSocketActionArgs Empty = new TCPSocketActionArgs();
/**
* The type of the action to take to perform the health check.
* Expected value is 'TCPSocketAction'.
*
*/
@Import(name="type", required=true)
private Output type;
/**
* @return The type of the action to take to perform the health check.
* Expected value is 'TCPSocketAction'.
*
*/
public Output type() {
return this.type;
}
private TCPSocketActionArgs() {}
private TCPSocketActionArgs(TCPSocketActionArgs $) {
this.type = $.type;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(TCPSocketActionArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private TCPSocketActionArgs $;
public Builder() {
$ = new TCPSocketActionArgs();
}
public Builder(TCPSocketActionArgs defaults) {
$ = new TCPSocketActionArgs(Objects.requireNonNull(defaults));
}
/**
* @param type The type of the action to take to perform the health check.
* Expected value is 'TCPSocketAction'.
*
* @return builder
*
*/
public Builder type(Output type) {
$.type = type;
return this;
}
/**
* @param type The type of the action to take to perform the health check.
* Expected value is 'TCPSocketAction'.
*
* @return builder
*
*/
public Builder type(String type) {
return type(Output.of(type));
}
public TCPSocketActionArgs build() {
$.type = Codegen.stringProp("type").output().arg($.type).require();
return $;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy