A description for the knowledge base. If you don't specify a description, the knowledge base is created without
one.
Returns:
A description for the knowledge base. If you don't specify a description, the knowledge base is created
without one.
hasPermissions
public finalbooleanhasPermissions()
For responses, this returns true if the service returned a value for the Permissions property. This DOES NOT
check that the value is non-empty (for which, you should check the isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.
A list of resource permissions on the knowledge base. Each entry grants a specified Amazon QuickSight principal
either owner or viewer access. If you don't specify permissions, only the primary owner (if provided) receives
owner access.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasPermissions() method.
Returns:
A list of resource permissions on the knowledge base. Each entry grants a specified Amazon QuickSight
principal either owner or viewer access. If you don't specify permissions, only the primary owner (if
provided) receives owner access.
The Amazon Resource Name (ARN) of the primary owner for the knowledge base. The specified user is always granted
owner access, regardless of what is specified in the Permissions field. If you don't specify a
primary owner, the knowledge base is created without one.
Returns:
The Amazon Resource Name (ARN) of the primary owner for the knowledge base. The specified user is always
granted owner access, regardless of what is specified in the Permissions field. If you don't
specify a primary owner, the knowledge base is created without one.
hasTags
public finalbooleanhasTags()
For responses, this returns true if the service returned a value for the Tags property. This DOES NOT check that
the value is non-empty (for which, you should check the isEmpty() method on the property). This is useful
because the SDK will never return a null collection or map, but you may need to differentiate between the service
returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true
if a value for the property was specified in the request builder, and false if a value was not specified.
The tags to assign to the knowledge base. If you don't specify tags, the knowledge base is created without tags.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasTags() method.
Returns:
The tags to assign to the knowledge base. If you don't specify tags, the knowledge base is created
without tags.
Indicates whether some other object is "equal to" this one by SDK fields.
An SDK field is a modeled, non-inherited field in an SdkPojo class,
and is generated based on a service model.
If an SdkPojo class does not have any inherited fields, equalsBySdkFields
and equals are essentially the same.
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be
redacted from this string using a placeholder value.
Used to retrieve the value of a field from any class that extends SdkRequest. The field name
specified should match the member name from the corresponding service-2.json model specified in the
codegen-resources folder for a given service. The class specifies what class to cast the returned value to.
If the returned value is also a modeled class, the SdkRequest.getValueForField(String, Class) method will
again be available.