Interface UpdateConsentPortalRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,BedrockAgentCoreControlRequest.Builder,Buildable,CopyableBuilder<UpdateConsentPortalRequest.Builder,,UpdateConsentPortalRequest> SdkBuilder<UpdateConsentPortalRequest.Builder,,UpdateConsentPortalRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdateConsentPortalRequest
@Mutable
@NotThreadSafe
public static interface UpdateConsentPortalRequest.Builder
extends BedrockAgentCoreControlRequest.Builder, SdkPojo, CopyableBuilder<UpdateConsentPortalRequest.Builder,UpdateConsentPortalRequest>
-
Method Summary
Modifier and TypeMethodDescriptionconsentPortalIdentifier(String consentPortalIdentifier) The identifier of the consent portal.description(String description) The description of the consent portal.executionRoleArn(String executionRoleArn) The Amazon Resource Name (ARN) of the IAM role that the consent portal assumes to access the resources defined in its sources.idpConfig(Consumer<ConsentPortalIdpConfig.Builder> idpConfig) The identity provider configuration that the consent portal uses to authenticate end users.idpConfig(ConsentPortalIdpConfig idpConfig) The identity provider configuration that the consent portal uses to authenticate end users.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.services.bedrockagentcorecontrol.model.BedrockAgentCoreControlRequest.Builder
buildMethods 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
-
consentPortalIdentifier
The identifier of the consent portal. You can specify either the consent portal ID or its Amazon Resource Name (ARN).
- Parameters:
consentPortalIdentifier- The identifier of the consent portal. You can specify either the consent portal ID or its Amazon Resource Name (ARN).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
executionRoleArn
The Amazon Resource Name (ARN) of the IAM role that the consent portal assumes to access the resources defined in its sources.
- Parameters:
executionRoleArn- The Amazon Resource Name (ARN) of the IAM role that the consent portal assumes to access the resources defined in its sources.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
idpConfig
The identity provider configuration that the consent portal uses to authenticate end users.
- Parameters:
idpConfig- The identity provider configuration that the consent portal uses to authenticate end users.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
idpConfig
default UpdateConsentPortalRequest.Builder idpConfig(Consumer<ConsentPortalIdpConfig.Builder> idpConfig) The identity provider configuration that the consent portal uses to authenticate end users.
This is a convenience method that creates an instance of theConsentPortalIdpConfig.Builderavoiding the need to create one manually viaConsentPortalIdpConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toidpConfig(ConsentPortalIdpConfig).- Parameters:
idpConfig- a consumer that will call methods onConsentPortalIdpConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
description
The description of the consent portal.
- Parameters:
description- The description of the consent portal.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
UpdateConsentPortalRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateConsentPortalRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-