Interface AccountEnforcedGuardrailOutputConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<AccountEnforcedGuardrailOutputConfiguration.Builder,,AccountEnforcedGuardrailOutputConfiguration> SdkBuilder<AccountEnforcedGuardrailOutputConfiguration.Builder,,AccountEnforcedGuardrailOutputConfiguration> SdkPojo
- Enclosing class:
AccountEnforcedGuardrailOutputConfiguration
-
Method Summary
Modifier and TypeMethodDescriptionUnique ID for the account enforced configuration.Timestamp.The ARN of the role used to update the configuration.guardrailArn(String guardrailArn) ARN representation for the guardrail.guardrailId(String guardrailId) Unique ID for the guardrail.guardrailVersion(String guardrailVersion) Numerical guardrail version.Deprecated.This field is being deprecated and will be removed once customers transition their existing policies to the new schema.Deprecated.This field is being deprecated and will be removed once customers transition their existing policies to the new schema.modelEnforcement(Consumer<ModelEnforcement.Builder> modelEnforcement) Model-specific information for the enforced guardrail configuration.modelEnforcement(ModelEnforcement modelEnforcement) Model-specific information for the enforced guardrail configuration.Configuration owner type.owner(ConfigurationOwner owner) Configuration owner type.selectiveContentGuarding(Consumer<SelectiveContentGuarding.Builder> selectiveContentGuarding) Selective content guarding controls for enforced guardrails.selectiveContentGuarding(SelectiveContentGuarding selectiveContentGuarding) Selective content guarding controls for enforced guardrails.Timestamp.The ARN of the role used to update the configuration.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
-
configId
Unique ID for the account enforced configuration.
- Parameters:
configId- Unique ID for the account enforced configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
guardrailArn
ARN representation for the guardrail.
- Parameters:
guardrailArn- ARN representation for the guardrail.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
guardrailId
Unique ID for the guardrail.
- Parameters:
guardrailId- Unique ID for the guardrail.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
inputTags
Deprecated.This field is being deprecated and will be removed once customers transition their existing policies to the new schema.Whether to honor or ignore input tags at runtime.
- Parameters:
inputTags- Whether to honor or ignore input tags at runtime.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
inputTags
Deprecated.This field is being deprecated and will be removed once customers transition their existing policies to the new schema.Whether to honor or ignore input tags at runtime.
- Parameters:
inputTags- Whether to honor or ignore input tags at runtime.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
selectiveContentGuarding
AccountEnforcedGuardrailOutputConfiguration.Builder selectiveContentGuarding(SelectiveContentGuarding selectiveContentGuarding) Selective content guarding controls for enforced guardrails.
- Parameters:
selectiveContentGuarding- Selective content guarding controls for enforced guardrails.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
selectiveContentGuarding
default AccountEnforcedGuardrailOutputConfiguration.Builder selectiveContentGuarding(Consumer<SelectiveContentGuarding.Builder> selectiveContentGuarding) Selective content guarding controls for enforced guardrails.
This is a convenience method that creates an instance of theSelectiveContentGuarding.Builderavoiding the need to create one manually viaSelectiveContentGuarding.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toselectiveContentGuarding(SelectiveContentGuarding).- Parameters:
selectiveContentGuarding- a consumer that will call methods onSelectiveContentGuarding.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
guardrailVersion
Numerical guardrail version.
- Parameters:
guardrailVersion- Numerical guardrail version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdAt
Timestamp.
- Parameters:
createdAt- Timestamp.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdBy
The ARN of the role used to update the configuration.
- Parameters:
createdBy- The ARN of the role used to update the configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updatedAt
Timestamp.
- Parameters:
updatedAt- Timestamp.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updatedBy
The ARN of the role used to update the configuration.
- Parameters:
updatedBy- The ARN of the role used to update the configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
owner
Configuration owner type.
- Parameters:
owner- Configuration owner type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
owner
Configuration owner type.
- Parameters:
owner- Configuration owner type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
modelEnforcement
AccountEnforcedGuardrailOutputConfiguration.Builder modelEnforcement(ModelEnforcement modelEnforcement) Model-specific information for the enforced guardrail configuration.
- Parameters:
modelEnforcement- Model-specific information for the enforced guardrail configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
modelEnforcement
default AccountEnforcedGuardrailOutputConfiguration.Builder modelEnforcement(Consumer<ModelEnforcement.Builder> modelEnforcement) Model-specific information for the enforced guardrail configuration.
This is a convenience method that creates an instance of theModelEnforcement.Builderavoiding the need to create one manually viaModelEnforcement.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tomodelEnforcement(ModelEnforcement).- Parameters:
modelEnforcement- a consumer that will call methods onModelEnforcement.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-