@Generated(value="software.amazon.awssdk:codegen") public final class CustomContentConfiguration extends Object implements SdkPojo, Serializable, ToCopyableBuilder<CustomContentConfiguration.Builder,CustomContentConfiguration>
The configuration of a CustomContentVisual.
| Modifier and Type | Class and Description |
|---|---|
static interface |
CustomContentConfiguration.Builder |
| Modifier and Type | Method and Description |
|---|---|
static CustomContentConfiguration.Builder |
builder() |
CustomContentType |
contentType()
The content type of the custom content visual.
|
String |
contentTypeAsString()
The content type of the custom content visual.
|
String |
contentUrl()
The input URL that links to the custom content that you want in the custom visual.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
CustomContentImageScalingConfiguration |
imageScaling()
The sizing options for the size of the custom content visual.
|
String |
imageScalingAsString()
The sizing options for the size of the custom content visual.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CustomContentConfiguration.Builder> |
serializableBuilderClass() |
CustomContentConfiguration.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String contentUrl()
The input URL that links to the custom content that you want in the custom visual.
public final CustomContentType contentType()
The content type of the custom content visual. You can use this to have the visual render as an image.
If the service returns an enum value that is not available in the current SDK version, contentType will
return CustomContentType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
contentTypeAsString().
CustomContentTypepublic final String contentTypeAsString()
The content type of the custom content visual. You can use this to have the visual render as an image.
If the service returns an enum value that is not available in the current SDK version, contentType will
return CustomContentType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
contentTypeAsString().
CustomContentTypepublic final CustomContentImageScalingConfiguration imageScaling()
The sizing options for the size of the custom content visual. This structure is required when the
ContentType of the visual is 'IMAGE'.
If the service returns an enum value that is not available in the current SDK version, imageScaling will
return CustomContentImageScalingConfiguration.UNKNOWN_TO_SDK_VERSION. The raw value returned by the
service is available from imageScalingAsString().
ContentType of the visual is 'IMAGE'.CustomContentImageScalingConfigurationpublic final String imageScalingAsString()
The sizing options for the size of the custom content visual. This structure is required when the
ContentType of the visual is 'IMAGE'.
If the service returns an enum value that is not available in the current SDK version, imageScaling will
return CustomContentImageScalingConfiguration.UNKNOWN_TO_SDK_VERSION. The raw value returned by the
service is available from imageScalingAsString().
ContentType of the visual is 'IMAGE'.CustomContentImageScalingConfigurationpublic CustomContentConfiguration.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CustomContentConfiguration.Builder,CustomContentConfiguration>public static CustomContentConfiguration.Builder builder()
public static Class<? extends CustomContentConfiguration.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.