Interface Preview.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<Preview.Builder,,Preview> SdkBuilder<Preview.Builder,,Preview> SdkPojo
- Enclosing class:
Preview
@Mutable
@NotThreadSafe
public static interface Preview.Builder
extends SdkPojo, CopyableBuilder<Preview.Builder,Preview>
-
Method Summary
Modifier and TypeMethodDescriptionpreviewStatus(String previewStatus) The status of the preview.previewStatus(PreviewStatus previewStatus) The status of the preview.previewUrl(String previewUrl) The URL to view the preview.default Preview.BuilderstatusException(Consumer<PortalStatusException.Builder> statusException) Sets the value of the StatusException property for this object.statusException(PortalStatusException statusException) Sets the value of the StatusException property for this object.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
-
previewStatus
The status of the preview.
- Parameters:
previewStatus- The status of the preview.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
previewStatus
The status of the preview.
- Parameters:
previewStatus- The status of the preview.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
statusException
Sets the value of the StatusException property for this object.- Parameters:
statusException- The new value for the StatusException property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
statusException
Sets the value of the StatusException property for this object. This is a convenience method that creates an instance of thePortalStatusException.Builderavoiding the need to create one manually viaPortalStatusException.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tostatusException(PortalStatusException).- Parameters:
statusException- a consumer that will call methods onPortalStatusException.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
previewUrl
The URL to view the preview. Present when
previewStatusisPREVIEW_READY.- Parameters:
previewUrl- The URL to view the preview. Present whenpreviewStatusisPREVIEW_READY.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-