Interface ConsentPortalSummary.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ConsentPortalSummary.Builder,,ConsentPortalSummary> SdkBuilder<ConsentPortalSummary.Builder,,ConsentPortalSummary> SdkPojo
- Enclosing class:
ConsentPortalSummary
@Mutable
@NotThreadSafe
public static interface ConsentPortalSummary.Builder
extends SdkPojo, CopyableBuilder<ConsentPortalSummary.Builder,ConsentPortalSummary>
-
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.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.The timestamp for when the consent portal was last updated.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
-
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.
-
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:
-
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.
-