Interface GetGatewayRuleResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,BedrockAgentCoreControlResponse.Builder,Buildable,CopyableBuilder<GetGatewayRuleResponse.Builder,,GetGatewayRuleResponse> SdkBuilder<GetGatewayRuleResponse.Builder,,GetGatewayRuleResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetGatewayRuleResponse
-
Method Summary
Modifier and TypeMethodDescriptionactions(Collection<Action> actions) The actions to take when the rule conditions are met.actions(Consumer<Action.Builder>... actions) The actions to take when the rule conditions are met.The actions to take when the rule conditions are met.conditions(Collection<Condition> conditions) The conditions that must be met for the rule to apply.conditions(Consumer<Condition.Builder>... conditions) The conditions that must be met for the rule to apply.conditions(Condition... conditions) The conditions that must be met for the rule to apply.The timestamp when the rule was created.description(String description) The description of the gateway rule.gatewayArn(String gatewayArn) The Amazon Resource Name (ARN) of the gateway that the rule belongs to.The priority of the rule.The unique identifier of the gateway rule.The current status of the rule.status(GatewayRuleStatus status) The current status of the rule.default GetGatewayRuleResponse.Buildersystem(Consumer<SystemManagedBlock.Builder> system) System-managed metadata for rules created by automated processes.system(SystemManagedBlock system) System-managed metadata for rules created by automated processes.The timestamp when the rule was last updated.Methods inherited from interface software.amazon.awssdk.services.bedrockagentcorecontrol.model.BedrockAgentCoreControlResponse.Builder
build, responseMetadata, responseMetadataMethods 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, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
ruleId
The unique identifier of the gateway rule.
- Parameters:
ruleId- The unique identifier of the gateway rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
gatewayArn
The Amazon Resource Name (ARN) of the gateway that the rule belongs to.
- Parameters:
gatewayArn- The Amazon Resource Name (ARN) of the gateway that the rule belongs to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
priority
The priority of the rule. Rules are evaluated in order of priority, with lower numbers evaluated first.
- Parameters:
priority- The priority of the rule. Rules are evaluated in order of priority, with lower numbers evaluated first.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
conditions
The conditions that must be met for the rule to apply.
- Parameters:
conditions- The conditions that must be met for the rule to apply.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
conditions
The conditions that must be met for the rule to apply.
- Parameters:
conditions- The conditions that must be met for the rule to apply.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
conditions
The conditions that must be met for the rule to apply.
This is a convenience method that creates an instance of theCondition.Builderavoiding the need to create one manually viaCondition.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toconditions(List<Condition>).- Parameters:
conditions- a consumer that will call methods onCondition.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
actions
The actions to take when the rule conditions are met.
- Parameters:
actions- The actions to take when the rule conditions are met.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
actions
The actions to take when the rule conditions are met.
- Parameters:
actions- The actions to take when the rule conditions are met.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
actions
The actions to take when the rule conditions are met.
This is a convenience method that creates an instance of theAction.Builderavoiding the need to create one manually viaAction.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toactions(List<Action>).- Parameters:
actions- a consumer that will call methods onAction.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
description
The description of the gateway rule.
- Parameters:
description- The description of the gateway rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdAt
The timestamp when the rule was created.
- Parameters:
createdAt- The timestamp when the rule was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The current status of the rule.
- Parameters:
status- The current status of the rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The current status of the rule.
- Parameters:
status- The current status of the rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
system
System-managed metadata for rules created by automated processes.
- Parameters:
system- System-managed metadata for rules created by automated processes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
system
System-managed metadata for rules created by automated processes.
This is a convenience method that creates an instance of theSystemManagedBlock.Builderavoiding the need to create one manually viaSystemManagedBlock.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosystem(SystemManagedBlock).- Parameters:
system- a consumer that will call methods onSystemManagedBlock.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
updatedAt
The timestamp when the rule was last updated.
- Parameters:
updatedAt- The timestamp when the rule was last updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-