Interface Condition.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<Condition.Builder,,Condition> SdkBuilder<Condition.Builder,,Condition> SdkPojo
- Enclosing class:
Condition
-
Method Summary
Modifier and TypeMethodDescriptiondefault Condition.BuildermatchModels(Consumer<MatchModels.Builder> matchModels) A condition that matches on the model requested in an inference request.matchModels(MatchModels matchModels) A condition that matches on the model requested in an inference request.default Condition.BuildermatchPaths(Consumer<MatchPaths.Builder> matchPaths) A condition that matches on the request path.matchPaths(MatchPaths matchPaths) A condition that matches on the request path.default Condition.BuildermatchPrincipals(Consumer<MatchPrincipals.Builder> matchPrincipals) A condition that matches on the identity of the caller making the request.matchPrincipals(MatchPrincipals matchPrincipals) A condition that matches on the identity of the caller making the request.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
-
matchPrincipals
A condition that matches on the identity of the caller making the request.
- Parameters:
matchPrincipals- A condition that matches on the identity of the caller making the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
matchPrincipals
A condition that matches on the identity of the caller making the request.
This is a convenience method that creates an instance of theMatchPrincipals.Builderavoiding the need to create one manually viaMatchPrincipals.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tomatchPrincipals(MatchPrincipals).- Parameters:
matchPrincipals- a consumer that will call methods onMatchPrincipals.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
matchPaths
A condition that matches on the request path.
- Parameters:
matchPaths- A condition that matches on the request path.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
matchPaths
A condition that matches on the request path.
This is a convenience method that creates an instance of theMatchPaths.Builderavoiding the need to create one manually viaMatchPaths.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tomatchPaths(MatchPaths).- Parameters:
matchPaths- a consumer that will call methods onMatchPaths.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
matchModels
A condition that matches on the model requested in an inference request.
- Parameters:
matchModels- A condition that matches on the model requested in an inference request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
matchModels
A condition that matches on the model requested in an inference request.
This is a convenience method that creates an instance of theMatchModels.Builderavoiding the need to create one manually viaMatchModels.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tomatchModels(MatchModels).- Parameters:
matchModels- a consumer that will call methods onMatchModels.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-