Class CfnVirtualNode.ListenerTimeoutProperty.Builder
java.lang.Object
software.amazon.awscdk.services.appmesh.CfnVirtualNode.ListenerTimeoutProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnVirtualNode.ListenerTimeoutProperty>
- Enclosing interface:
CfnVirtualNode.ListenerTimeoutProperty
@Stability(Stable)
public static final class CfnVirtualNode.ListenerTimeoutProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnVirtualNode.ListenerTimeoutProperty>
A builder for
CfnVirtualNode.ListenerTimeoutProperty
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.grpc
(IResolvable grpc) Sets the value ofCfnVirtualNode.ListenerTimeoutProperty.getGrpc()
Sets the value ofCfnVirtualNode.ListenerTimeoutProperty.getGrpc()
http
(IResolvable http) Sets the value ofCfnVirtualNode.ListenerTimeoutProperty.getHttp()
Sets the value ofCfnVirtualNode.ListenerTimeoutProperty.getHttp()
http2
(IResolvable http2) Sets the value ofCfnVirtualNode.ListenerTimeoutProperty.getHttp2()
Sets the value ofCfnVirtualNode.ListenerTimeoutProperty.getHttp2()
tcp
(IResolvable tcp) Sets the value ofCfnVirtualNode.ListenerTimeoutProperty.getTcp()
Sets the value ofCfnVirtualNode.ListenerTimeoutProperty.getTcp()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
grpc
Sets the value ofCfnVirtualNode.ListenerTimeoutProperty.getGrpc()
- Parameters:
grpc
- An object that represents types of timeouts.- Returns:
this
-
grpc
@Stability(Stable) public CfnVirtualNode.ListenerTimeoutProperty.Builder grpc(CfnVirtualNode.GrpcTimeoutProperty grpc) Sets the value ofCfnVirtualNode.ListenerTimeoutProperty.getGrpc()
- Parameters:
grpc
- An object that represents types of timeouts.- Returns:
this
-
http
Sets the value ofCfnVirtualNode.ListenerTimeoutProperty.getHttp()
- Parameters:
http
- An object that represents types of timeouts.- Returns:
this
-
http
@Stability(Stable) public CfnVirtualNode.ListenerTimeoutProperty.Builder http(CfnVirtualNode.HttpTimeoutProperty http) Sets the value ofCfnVirtualNode.ListenerTimeoutProperty.getHttp()
- Parameters:
http
- An object that represents types of timeouts.- Returns:
this
-
http2
Sets the value ofCfnVirtualNode.ListenerTimeoutProperty.getHttp2()
- Parameters:
http2
- An object that represents types of timeouts.- Returns:
this
-
http2
@Stability(Stable) public CfnVirtualNode.ListenerTimeoutProperty.Builder http2(CfnVirtualNode.HttpTimeoutProperty http2) Sets the value ofCfnVirtualNode.ListenerTimeoutProperty.getHttp2()
- Parameters:
http2
- An object that represents types of timeouts.- Returns:
this
-
tcp
Sets the value ofCfnVirtualNode.ListenerTimeoutProperty.getTcp()
- Parameters:
tcp
- An object that represents types of timeouts.- Returns:
this
-
tcp
@Stability(Stable) public CfnVirtualNode.ListenerTimeoutProperty.Builder tcp(CfnVirtualNode.TcpTimeoutProperty tcp) Sets the value ofCfnVirtualNode.ListenerTimeoutProperty.getTcp()
- Parameters:
tcp
- An object that represents types of timeouts.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnVirtualNode.ListenerTimeoutProperty>
- Returns:
- a new instance of
CfnVirtualNode.ListenerTimeoutProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-