Interface PortalContent.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<PortalContent.Builder,,PortalContent> SdkBuilder<PortalContent.Builder,,PortalContent> SdkPojo
- Enclosing class:
PortalContent
@Mutable
@NotThreadSafe
public static interface PortalContent.Builder
extends SdkPojo, CopyableBuilder<PortalContent.Builder,PortalContent>
-
Method Summary
Modifier and TypeMethodDescriptiondescription(String description) A description of the portal.displayName(String displayName) The display name for the portal.default PortalContent.Buildertheme(Consumer<PortalTheme.Builder> theme) The theme for the portal.theme(PortalTheme theme) The theme for the portal.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
-
description
A description of the portal.
- Parameters:
description- A description of the portal.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
displayName
The display name for the portal.
- Parameters:
displayName- The display name for the portal.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
theme
The theme for the portal.
- Parameters:
theme- The theme for the portal.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
theme
The theme for the portal.
This is a convenience method that creates an instance of thePortalTheme.Builderavoiding the need to create one manually viaPortalTheme.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totheme(PortalTheme).- Parameters:
theme- a consumer that will call methods onPortalTheme.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-