Interface UpdateConsentPortalResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,BedrockAgentCoreControlResponse.Builder,Buildable,CopyableBuilder<UpdateConsentPortalResponse.Builder,,UpdateConsentPortalResponse> SdkBuilder<UpdateConsentPortalResponse.Builder,,UpdateConsentPortalResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
UpdateConsentPortalResponse
-
Method Summary
Modifier and TypeMethodDescriptionconsentPortalArn(String consentPortalArn) The Amazon Resource Name (ARN) of the consent portal.consentPortalId(String consentPortalId) The unique identifier of the consent portal.The timestamp for when the consent portal was created.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.The name of the consent portal.The URL used to access the consent portal.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.The current status of the consent portal.status(ConsentPortalStatus status) The current status of the consent portal.statusReason(String statusReason) A message that provides additional information about the current status of the consent portal.The timestamp for when the consent portal 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
-
sources
The resources served by the consent portal.
- Parameters:
sources- The resources served by the consent portal.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sources
The resources served by the consent portal.
- Parameters:
sources- The resources served by the consent portal.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sources
The resources served by the consent portal.
This is a convenience method that creates an instance of theConsentPortalSource.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:
-
consentPortalArn
The Amazon Resource Name (ARN) of the consent portal.
- Parameters:
consentPortalArn- The Amazon Resource Name (ARN) of the consent portal.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
consentPortalId
The unique identifier of the consent portal.
- Parameters:
consentPortalId- The unique identifier of the consent portal.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdAt
The timestamp for when the consent portal was created.
- Parameters:
createdAt- The timestamp for when the consent portal was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
-
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 UpdateConsentPortalResponse.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.
- Parameters:
name- The name of the consent portal.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
portalUrl
The URL used to access the consent portal.
- Parameters:
portalUrl- The URL used to access the consent portal.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The current status of the consent portal.
- Parameters:
status- The current status of the consent portal.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The current status of the consent portal.
- Parameters:
status- The current status of the consent portal.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
statusReason
A message that provides additional information about the current status of the consent portal.
- Parameters:
statusReason- A message that provides additional information about the current status of the consent portal.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updatedAt
The timestamp for when the consent portal was last updated.
- Parameters:
updatedAt- The timestamp for when the consent portal was last updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-