Interface GrpcRoute.Builder
- All Superinterfaces:
- Buildable,- CopyableBuilder<GrpcRoute.Builder,,- GrpcRoute> - SdkBuilder<GrpcRoute.Builder,,- GrpcRoute> - SdkPojo
- Enclosing class:
- GrpcRoute
- 
Method SummaryModifier 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.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFields
- 
Method Details- 
actionAn 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.
 
- 
actionAn 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 on- GrpcRouteAction.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
matchAn 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.
 
- 
matchAn 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 on- GrpcRouteMatch.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
retryPolicyAn 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.
 
- 
retryPolicyAn 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 on- GrpcRetryPolicy.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
timeoutAn 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.
 
- 
timeoutAn 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 on- GrpcTimeout.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
 
-