Interface SheetImageScalingConfiguration.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<SheetImageScalingConfiguration.Builder,SheetImageScalingConfiguration>,SdkBuilder<SheetImageScalingConfiguration.Builder,SheetImageScalingConfiguration>,SdkPojo
- Enclosing class:
- SheetImageScalingConfiguration
@Mutable @NotThreadSafe public static interface SheetImageScalingConfiguration.Builder extends SdkPojo, CopyableBuilder<SheetImageScalingConfiguration.Builder,SheetImageScalingConfiguration>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SheetImageScalingConfiguration.BuilderscalingType(String scalingType)The scaling option to use when fitting the image inside the container.SheetImageScalingConfiguration.BuilderscalingType(SheetImageScalingType scalingType)The scaling option to use when fitting the image inside the container.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
scalingType
SheetImageScalingConfiguration.Builder scalingType(String scalingType)
The scaling option to use when fitting the image inside the container.
Valid values are defined as follows:
-
SCALE_TO_WIDTH: The image takes up the entire width of the container. The image aspect ratio is preserved. -
SCALE_TO_HEIGHT: The image takes up the entire height of the container. The image aspect ratio is preserved. -
SCALE_TO_CONTAINER: The image takes up the entire width and height of the container. The image aspect ratio is not preserved. -
SCALE_NONE: The image is displayed in its original size and is not scaled to the container.
- Parameters:
scalingType- The scaling option to use when fitting the image inside the container.Valid values are defined as follows:
-
SCALE_TO_WIDTH: The image takes up the entire width of the container. The image aspect ratio is preserved. -
SCALE_TO_HEIGHT: The image takes up the entire height of the container. The image aspect ratio is preserved. -
SCALE_TO_CONTAINER: The image takes up the entire width and height of the container. The image aspect ratio is not preserved. -
SCALE_NONE: The image is displayed in its original size and is not scaled to the container.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
SheetImageScalingType,SheetImageScalingType
-
-
scalingType
SheetImageScalingConfiguration.Builder scalingType(SheetImageScalingType scalingType)
The scaling option to use when fitting the image inside the container.
Valid values are defined as follows:
-
SCALE_TO_WIDTH: The image takes up the entire width of the container. The image aspect ratio is preserved. -
SCALE_TO_HEIGHT: The image takes up the entire height of the container. The image aspect ratio is preserved. -
SCALE_TO_CONTAINER: The image takes up the entire width and height of the container. The image aspect ratio is not preserved. -
SCALE_NONE: The image is displayed in its original size and is not scaled to the container.
- Parameters:
scalingType- The scaling option to use when fitting the image inside the container.Valid values are defined as follows:
-
SCALE_TO_WIDTH: The image takes up the entire width of the container. The image aspect ratio is preserved. -
SCALE_TO_HEIGHT: The image takes up the entire height of the container. The image aspect ratio is preserved. -
SCALE_TO_CONTAINER: The image takes up the entire width and height of the container. The image aspect ratio is not preserved. -
SCALE_NONE: The image is displayed in its original size and is not scaled to the container.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
SheetImageScalingType,SheetImageScalingType
-
-
-