Interface GuardrailSummary.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<GuardrailSummary.Builder,GuardrailSummary>,SdkBuilder<GuardrailSummary.Builder,GuardrailSummary>,SdkPojo
- Enclosing class:
- GuardrailSummary
@Mutable @NotThreadSafe public static interface GuardrailSummary.Builder extends SdkPojo, CopyableBuilder<GuardrailSummary.Builder,GuardrailSummary>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description GuardrailSummary.Builderarn(String arn)The ARN of the guardrail.GuardrailSummary.BuildercreatedAt(Instant createdAt)The date and time at which the guardrail was created.default GuardrailSummary.BuildercrossRegionDetails(Consumer<GuardrailCrossRegionDetails.Builder> crossRegionDetails)Details about the system-defined guardrail profile that you're using with your guardrail, including the guardrail profile ID and Amazon Resource Name (ARN).GuardrailSummary.BuildercrossRegionDetails(GuardrailCrossRegionDetails crossRegionDetails)Details about the system-defined guardrail profile that you're using with your guardrail, including the guardrail profile ID and Amazon Resource Name (ARN).GuardrailSummary.Builderdescription(String description)A description of the guardrail.GuardrailSummary.Builderid(String id)The unique identifier of the guardrail.GuardrailSummary.Buildername(String name)The name of the guardrail.GuardrailSummary.Builderstatus(String status)The status of the guardrail.GuardrailSummary.Builderstatus(GuardrailStatus status)The status of the guardrail.GuardrailSummary.BuilderupdatedAt(Instant updatedAt)The date and time at which the guardrail was last updated.GuardrailSummary.Builderversion(String version)The version of the guardrail.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
id
GuardrailSummary.Builder id(String id)
The unique identifier of the guardrail.
- Parameters:
id- The unique identifier of the guardrail.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
arn
GuardrailSummary.Builder arn(String arn)
The ARN of the guardrail.
- Parameters:
arn- The ARN of the guardrail.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
GuardrailSummary.Builder status(String status)
The status of the guardrail.
- Parameters:
status- The status of the guardrail.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
GuardrailStatus,GuardrailStatus
-
status
GuardrailSummary.Builder status(GuardrailStatus status)
The status of the guardrail.
- Parameters:
status- The status of the guardrail.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
GuardrailStatus,GuardrailStatus
-
name
GuardrailSummary.Builder name(String name)
The name of the guardrail.
- Parameters:
name- The name of the guardrail.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
GuardrailSummary.Builder description(String description)
A description of the guardrail.
- Parameters:
description- A description of the guardrail.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
version
GuardrailSummary.Builder version(String version)
The version of the guardrail.
- Parameters:
version- The version of the guardrail.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdAt
GuardrailSummary.Builder createdAt(Instant createdAt)
The date and time at which the guardrail was created.
- Parameters:
createdAt- The date and time at which the guardrail was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updatedAt
GuardrailSummary.Builder updatedAt(Instant updatedAt)
The date and time at which the guardrail was last updated.
- Parameters:
updatedAt- The date and time at which the guardrail was last updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
crossRegionDetails
GuardrailSummary.Builder crossRegionDetails(GuardrailCrossRegionDetails crossRegionDetails)
Details about the system-defined guardrail profile that you're using with your guardrail, including the guardrail profile ID and Amazon Resource Name (ARN).
- Parameters:
crossRegionDetails- Details about the system-defined guardrail profile that you're using with your guardrail, including the guardrail profile ID and Amazon Resource Name (ARN).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
crossRegionDetails
default GuardrailSummary.Builder crossRegionDetails(Consumer<GuardrailCrossRegionDetails.Builder> crossRegionDetails)
Details about the system-defined guardrail profile that you're using with your guardrail, including the guardrail profile ID and Amazon Resource Name (ARN).
This is a convenience method that creates an instance of theGuardrailCrossRegionDetails.Builderavoiding the need to create one manually viaGuardrailCrossRegionDetails.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocrossRegionDetails(GuardrailCrossRegionDetails).- Parameters:
crossRegionDetails- a consumer that will call methods onGuardrailCrossRegionDetails.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
crossRegionDetails(GuardrailCrossRegionDetails)
-
-