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 of the preview.default Preview.BuilderstatusException(Consumer<StatusException.Builder> statusException) The status exception information.statusException(StatusException statusException) The status exception information.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:
-
previewUrl
The URL of the preview.
- Parameters:
previewUrl- The URL of the preview.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
statusException
The status exception information.
- Parameters:
statusException- The status exception information.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
statusException
The status exception information.
This is a convenience method that creates an instance of theStatusException.Builderavoiding the need to create one manually viaStatusException.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tostatusException(StatusException).- Parameters:
statusException- a consumer that will call methods onStatusException.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-