Interface GrpcRoute.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<GrpcRoute.Builder,,GrpcRoute> SdkBuilder<GrpcRoute.Builder,,GrpcRoute> SdkPojo
- Enclosing class:
GrpcRoute
-
Method Summary
Modifier and TypeMethodDescriptiondefault GrpcRoute.Builderaction(Consumer<GrpcRouteAction.Builder> action) An object that represents the action to take if a match is determined.action(GrpcRouteAction action) An object that represents the action to take if a match is determined.default GrpcRoute.Buildermatch(Consumer<GrpcRouteMatch.Builder> match) An object that represents the criteria for determining a request match.match(GrpcRouteMatch match) An object that represents the criteria for determining a request match.default GrpcRoute.BuilderretryPolicy(Consumer<GrpcRetryPolicy.Builder> retryPolicy) An object that represents a retry policy.retryPolicy(GrpcRetryPolicy retryPolicy) An object that represents a retry policy.default GrpcRoute.Buildertimeout(Consumer<GrpcTimeout.Builder> timeout) An object that represents types of timeouts.timeout(GrpcTimeout timeout) An object that represents types of timeouts.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
action
An object that represents the action to take if a match is determined.
- Parameters:
action- An object that represents the action to take if a match is determined.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
action
An object that represents the action to take if a match is determined.
This is a convenience method that creates an instance of theGrpcRouteAction.Builderavoiding the need to create one manually viaGrpcRouteAction.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toaction(GrpcRouteAction).- Parameters:
action- a consumer that will call methods onGrpcRouteAction.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
match
An object that represents the criteria for determining a request match.
- Parameters:
match- An object that represents the criteria for determining a request match.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
match
An object that represents the criteria for determining a request match.
This is a convenience method that creates an instance of theGrpcRouteMatch.Builderavoiding the need to create one manually viaGrpcRouteMatch.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tomatch(GrpcRouteMatch).- Parameters:
match- a consumer that will call methods onGrpcRouteMatch.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
retryPolicy
An object that represents a retry policy.
- Parameters:
retryPolicy- An object that represents a retry policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
retryPolicy
An object that represents a retry policy.
This is a convenience method that creates an instance of theGrpcRetryPolicy.Builderavoiding the need to create one manually viaGrpcRetryPolicy.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toretryPolicy(GrpcRetryPolicy).- Parameters:
retryPolicy- a consumer that will call methods onGrpcRetryPolicy.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
timeout
An object that represents types of timeouts.
- Parameters:
timeout- An object that represents types of timeouts.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
timeout
An object that represents types of timeouts.
This is a convenience method that creates an instance of theGrpcTimeout.Builderavoiding the need to create one manually viaGrpcTimeout.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totimeout(GrpcTimeout).- Parameters:
timeout- a consumer that will call methods onGrpcTimeout.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-