Class CfnPrompt.MessageProperty.Jsii$Proxy
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.bedrock.CfnPrompt.MessageProperty.Jsii$Proxy
- All Implemented Interfaces:
CfnPrompt.MessageProperty,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
CfnPrompt.MessageProperty
@Stability(Stable)
@Internal
public static final class CfnPrompt.MessageProperty.Jsii$Proxy
extends software.amazon.jsii.JsiiObject
implements CfnPrompt.MessageProperty
An implementation for
CfnPrompt.MessageProperty-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.services.bedrock.CfnPrompt.MessageProperty
CfnPrompt.MessageProperty.Builder, CfnPrompt.MessageProperty.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor that initializes the object based on literal property values passed by theCfnPrompt.MessageProperty.Builder.protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
Constructor Details
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef- Reference to the JSII managed object.
-
Jsii$Proxy
Constructor that initializes the object based on literal property values passed by theCfnPrompt.MessageProperty.Builder.
-
-
Method Details
-
getContent
Description copied from interface:CfnPrompt.MessagePropertyThe message content. Note the following restrictions:.- You can include up to 20 images. Each image's size, height, and width must be no more than 3.75 MB, 8000 px, and 8000 px, respectively.
- You can include up to five documents. Each document's size must be no more than 4.5 MB.
- If you include a
ContentBlockwith adocumentfield in the array, you must also include aContentBlockwith atextfield. - You can only include images and documents if the
roleisuser.
Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnPrompt.ContentBlockProperty>- Specified by:
getContentin interfaceCfnPrompt.MessageProperty- See Also:
-
getRole
Description copied from interface:CfnPrompt.MessagePropertyThe role that the message plays in the message.- Specified by:
getRolein interfaceCfnPrompt.MessageProperty- See Also:
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-