@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ViewDefinitionInput extends Object implements Serializable, Cloneable, StructuredPojo
A structure containing details for creating or updating an Glue view.
Constructor and Description |
---|
ViewDefinitionInput() |
Modifier and Type | Method and Description |
---|---|
ViewDefinitionInput |
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<ViewRepresentationInput> |
getRepresentations()
A list of structures that contains the dialect of the view, and the query that defines the view.
|
List<String> |
getSubObjects()
A list of base table ARNs that make up the view.
|
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<ViewRepresentationInput> representations)
A list of structures that contains the dialect of the view, and the query that defines the view.
|
void |
setSubObjects(Collection<String> subObjects)
A list of base table ARNs that make up the view.
|
String |
toString()
Returns a string representation of this object.
|
ViewDefinitionInput |
withDefiner(String definer)
The definer of a view in SQL.
|
ViewDefinitionInput |
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.
|
ViewDefinitionInput |
withRepresentations(Collection<ViewRepresentationInput> representations)
A list of structures that contains the dialect of the view, and the query that defines the view.
|
ViewDefinitionInput |
withRepresentations(ViewRepresentationInput... representations)
A list of structures that contains the dialect of the view, and the query that defines the view.
|
ViewDefinitionInput |
withSubObjects(Collection<String> subObjects)
A list of base table ARNs that make up the view.
|
ViewDefinitionInput |
withSubObjects(String... subObjects)
A list of base table ARNs that make up the view.
|
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 ViewDefinitionInput 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 ViewDefinitionInput withDefiner(String definer)
The definer of a view in SQL.
definer
- The definer of a view in SQL.public List<ViewRepresentationInput> getRepresentations()
A list of structures that contains the dialect of the view, and the query that defines the view.
public void setRepresentations(Collection<ViewRepresentationInput> representations)
A list of structures that contains the dialect of the view, and the query that defines the view.
representations
- A list of structures that contains the dialect of the view, and the query that defines the view.public ViewDefinitionInput withRepresentations(ViewRepresentationInput... representations)
A list of structures that contains the dialect of the view, and the query that defines the view.
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 structures that contains the dialect of the view, and the query that defines the view.public ViewDefinitionInput withRepresentations(Collection<ViewRepresentationInput> representations)
A list of structures that contains the dialect of the view, and the query that defines the view.
representations
- A list of structures that contains the dialect of the view, and the query that defines the view.public List<String> getSubObjects()
A list of base table ARNs that make up the view.
public void setSubObjects(Collection<String> subObjects)
A list of base table ARNs that make up the view.
subObjects
- A list of base table ARNs that make up the view.public ViewDefinitionInput withSubObjects(String... subObjects)
A list of base table ARNs that make up the view.
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 base table ARNs that make up the view.public ViewDefinitionInput withSubObjects(Collection<String> subObjects)
A list of base table ARNs that make up the view.
subObjects
- A list of base table ARNs that make up the view.public String toString()
toString
in class Object
Object.toString()
public ViewDefinitionInput clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.