@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ViewDefinition extends Object implements Serializable, Cloneable, StructuredPojo
A structure containing details for representations.
Constructor and Description |
---|
ViewDefinition() |
Modifier and Type | Method and Description |
---|---|
ViewDefinition |
clone() |
boolean |
equals(Object obj) |
String |
getDefiner()
The definer of a view in SQL.
|
Boolean |
getIsProtected()
You can set this flag as true to instruct the engine not to push user-provided operations into the logical plan
of the view during query planning.
|
List<ViewRepresentation> |
getRepresentations()
A list of representations.
|
List<String> |
getSubObjects()
A list of table Amazon Resource Names (ARNs).
|
int |
hashCode() |
Boolean |
isProtected()
You can set this flag as true to instruct the engine not to push user-provided operations into the logical plan
of the view during query planning.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDefiner(String definer)
The definer of a view in SQL.
|
void |
setIsProtected(Boolean isProtected)
You can set this flag as true to instruct the engine not to push user-provided operations into the logical plan
of the view during query planning.
|
void |
setRepresentations(Collection<ViewRepresentation> representations)
A list of representations.
|
void |
setSubObjects(Collection<String> subObjects)
A list of table Amazon Resource Names (ARNs).
|
String |
toString()
Returns a string representation of this object.
|
ViewDefinition |
withDefiner(String definer)
The definer of a view in SQL.
|
ViewDefinition |
withIsProtected(Boolean isProtected)
You can set this flag as true to instruct the engine not to push user-provided operations into the logical plan
of the view during query planning.
|
ViewDefinition |
withRepresentations(Collection<ViewRepresentation> representations)
A list of representations.
|
ViewDefinition |
withRepresentations(ViewRepresentation... representations)
A list of representations.
|
ViewDefinition |
withSubObjects(Collection<String> subObjects)
A list of table Amazon Resource Names (ARNs).
|
ViewDefinition |
withSubObjects(String... subObjects)
A list of table Amazon Resource Names (ARNs).
|
public void setIsProtected(Boolean isProtected)
You can set this flag as true to instruct the engine not to push user-provided operations into the logical plan of the view during query planning. However, setting this flag does not guarantee that the engine will comply. Refer to the engine's documentation to understand the guarantees provided, if any.
isProtected
- You can set this flag as true to instruct the engine not to push user-provided operations into the logical
plan of the view during query planning. However, setting this flag does not guarantee that the engine will
comply. Refer to the engine's documentation to understand the guarantees provided, if any.public Boolean getIsProtected()
You can set this flag as true to instruct the engine not to push user-provided operations into the logical plan of the view during query planning. However, setting this flag does not guarantee that the engine will comply. Refer to the engine's documentation to understand the guarantees provided, if any.
public ViewDefinition withIsProtected(Boolean isProtected)
You can set this flag as true to instruct the engine not to push user-provided operations into the logical plan of the view during query planning. However, setting this flag does not guarantee that the engine will comply. Refer to the engine's documentation to understand the guarantees provided, if any.
isProtected
- You can set this flag as true to instruct the engine not to push user-provided operations into the logical
plan of the view during query planning. However, setting this flag does not guarantee that the engine will
comply. Refer to the engine's documentation to understand the guarantees provided, if any.public Boolean isProtected()
You can set this flag as true to instruct the engine not to push user-provided operations into the logical plan of the view during query planning. However, setting this flag does not guarantee that the engine will comply. Refer to the engine's documentation to understand the guarantees provided, if any.
public void setDefiner(String definer)
The definer of a view in SQL.
definer
- The definer of a view in SQL.public String getDefiner()
The definer of a view in SQL.
public ViewDefinition withDefiner(String definer)
The definer of a view in SQL.
definer
- The definer of a view in SQL.public List<String> getSubObjects()
A list of table Amazon Resource Names (ARNs).
public void setSubObjects(Collection<String> subObjects)
A list of table Amazon Resource Names (ARNs).
subObjects
- A list of table Amazon Resource Names (ARNs).public ViewDefinition withSubObjects(String... subObjects)
A list of table Amazon Resource Names (ARNs).
NOTE: This method appends the values to the existing list (if any). Use
setSubObjects(java.util.Collection)
or withSubObjects(java.util.Collection)
if you want to
override the existing values.
subObjects
- A list of table Amazon Resource Names (ARNs).public ViewDefinition withSubObjects(Collection<String> subObjects)
A list of table Amazon Resource Names (ARNs).
subObjects
- A list of table Amazon Resource Names (ARNs).public List<ViewRepresentation> getRepresentations()
A list of representations.
public void setRepresentations(Collection<ViewRepresentation> representations)
A list of representations.
representations
- A list of representations.public ViewDefinition withRepresentations(ViewRepresentation... representations)
A list of representations.
NOTE: This method appends the values to the existing list (if any). Use
setRepresentations(java.util.Collection)
or withRepresentations(java.util.Collection)
if you
want to override the existing values.
representations
- A list of representations.public ViewDefinition withRepresentations(Collection<ViewRepresentation> representations)
A list of representations.
representations
- A list of representations.public String toString()
toString
in class Object
Object.toString()
public ViewDefinition clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.