Interface CreateConsentPortalRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,BedrockAgentCoreControlRequest.Builder,Buildable,CopyableBuilder<CreateConsentPortalRequest.Builder,,CreateConsentPortalRequest> SdkBuilder<CreateConsentPortalRequest.Builder,,CreateConsentPortalRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateConsentPortalRequest
-
Method Summary
Modifier and TypeMethodDescriptiondescription(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.The name of the consent portal.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.sources(Collection<ConsentPortalSource> sources) The resources served by the consent portal.sources(Consumer<ConsentPortalSource.Builder>... sources) The resources served by the consent portal.sources(ConsentPortalSource... sources) The resources served by the consent portal.A map of tag keys and values to assign to the consent portal.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
-
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 CreateConsentPortalRequest.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:
-
name
The name of the consent portal. The name must be unique within your account.
- Parameters:
name- The name of the consent portal. The name must be unique within your account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sources
The resources served by the consent portal. Currently, we only support type
agentcore-gateway.- Parameters:
sources- The resources served by the consent portal. Currently, we only support typeagentcore-gateway.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sources
The resources served by the consent portal. Currently, we only support type
agentcore-gateway.- Parameters:
sources- The resources served by the consent portal. Currently, we only support typeagentcore-gateway.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sources
The resources served by the consent portal. Currently, we only support type
This is a convenience method that creates an instance of theagentcore-gateway.ConsentPortalSource.Builderavoiding the need to create one manually viaConsentPortalSource.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosources(List<ConsentPortalSource>).- Parameters:
sources- a consumer that will call methods onConsentPortalSource.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.
-
tags
A map of tag keys and values to assign to the consent portal. Tags enable you to categorize your resources in different ways, for example, by purpose, owner, or environment.
- Parameters:
tags- A map of tag keys and values to assign to the consent portal. Tags enable you to categorize your resources in different ways, for example, by purpose, owner, or environment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateConsentPortalRequest.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
CreateConsentPortalRequest.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.
-