@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CustomContentConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
The configuration of a CustomContentVisual.
| Constructor and Description |
|---|
CustomContentConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
CustomContentConfiguration |
clone() |
boolean |
equals(Object obj) |
String |
getContentType()
The content type of the custom content visual.
|
String |
getContentUrl()
The input URL that links to the custom content that you want in the custom visual.
|
String |
getImageScaling()
The sizing options for the size of the custom content visual.
|
VisualInteractionOptions |
getInteractions()
The general visual interactions setup for a visual.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setContentType(String contentType)
The content type of the custom content visual.
|
void |
setContentUrl(String contentUrl)
The input URL that links to the custom content that you want in the custom visual.
|
void |
setImageScaling(String imageScaling)
The sizing options for the size of the custom content visual.
|
void |
setInteractions(VisualInteractionOptions interactions)
The general visual interactions setup for a visual.
|
String |
toString()
Returns a string representation of this object.
|
CustomContentConfiguration |
withContentType(CustomContentType contentType)
The content type of the custom content visual.
|
CustomContentConfiguration |
withContentType(String contentType)
The content type of the custom content visual.
|
CustomContentConfiguration |
withContentUrl(String contentUrl)
The input URL that links to the custom content that you want in the custom visual.
|
CustomContentConfiguration |
withImageScaling(CustomContentImageScalingConfiguration imageScaling)
The sizing options for the size of the custom content visual.
|
CustomContentConfiguration |
withImageScaling(String imageScaling)
The sizing options for the size of the custom content visual.
|
CustomContentConfiguration |
withInteractions(VisualInteractionOptions interactions)
The general visual interactions setup for a visual.
|
public void setContentUrl(String contentUrl)
The input URL that links to the custom content that you want in the custom visual.
contentUrl - The input URL that links to the custom content that you want in the custom visual.public String getContentUrl()
The input URL that links to the custom content that you want in the custom visual.
public CustomContentConfiguration withContentUrl(String contentUrl)
The input URL that links to the custom content that you want in the custom visual.
contentUrl - The input URL that links to the custom content that you want in the custom visual.public void setContentType(String contentType)
The content type of the custom content visual. You can use this to have the visual render as an image.
contentType - The content type of the custom content visual. You can use this to have the visual render as an image.CustomContentTypepublic String getContentType()
The content type of the custom content visual. You can use this to have the visual render as an image.
CustomContentTypepublic CustomContentConfiguration withContentType(String contentType)
The content type of the custom content visual. You can use this to have the visual render as an image.
contentType - The content type of the custom content visual. You can use this to have the visual render as an image.CustomContentTypepublic CustomContentConfiguration withContentType(CustomContentType contentType)
The content type of the custom content visual. You can use this to have the visual render as an image.
contentType - The content type of the custom content visual. You can use this to have the visual render as an image.CustomContentTypepublic void setImageScaling(String imageScaling)
The sizing options for the size of the custom content visual. This structure is required when the
ContentType of the visual is 'IMAGE'.
imageScaling - The sizing options for the size of the custom content visual. This structure is required when the
ContentType of the visual is 'IMAGE'.CustomContentImageScalingConfigurationpublic String getImageScaling()
The sizing options for the size of the custom content visual. This structure is required when the
ContentType of the visual is 'IMAGE'.
ContentType of the visual is 'IMAGE'.CustomContentImageScalingConfigurationpublic CustomContentConfiguration withImageScaling(String imageScaling)
The sizing options for the size of the custom content visual. This structure is required when the
ContentType of the visual is 'IMAGE'.
imageScaling - The sizing options for the size of the custom content visual. This structure is required when the
ContentType of the visual is 'IMAGE'.CustomContentImageScalingConfigurationpublic CustomContentConfiguration withImageScaling(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'.
imageScaling - The sizing options for the size of the custom content visual. This structure is required when the
ContentType of the visual is 'IMAGE'.CustomContentImageScalingConfigurationpublic void setInteractions(VisualInteractionOptions interactions)
The general visual interactions setup for a visual.
interactions - The general visual interactions setup for a visual.public VisualInteractionOptions getInteractions()
The general visual interactions setup for a visual.
public CustomContentConfiguration withInteractions(VisualInteractionOptions interactions)
The general visual interactions setup for a visual.
interactions - The general visual interactions setup for a visual.public String toString()
toString in class ObjectObject.toString()public CustomContentConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.