@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ResultReuseByAgeConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
Specifies whether previous query results are reused, and if so, their maximum age.
Constructor and Description |
---|
ResultReuseByAgeConfiguration() |
Modifier and Type | Method and Description |
---|---|
ResultReuseByAgeConfiguration |
clone() |
boolean |
equals(Object obj) |
Boolean |
getEnabled()
True if previous query results can be reused when the query is run; otherwise, false.
|
Integer |
getMaxAgeInMinutes()
Specifies, in minutes, the maximum age of a previous query result that Athena should consider for reuse.
|
int |
hashCode() |
Boolean |
isEnabled()
True if previous query results can be reused when the query is run; otherwise, false.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setEnabled(Boolean enabled)
True if previous query results can be reused when the query is run; otherwise, false.
|
void |
setMaxAgeInMinutes(Integer maxAgeInMinutes)
Specifies, in minutes, the maximum age of a previous query result that Athena should consider for reuse.
|
String |
toString()
Returns a string representation of this object.
|
ResultReuseByAgeConfiguration |
withEnabled(Boolean enabled)
True if previous query results can be reused when the query is run; otherwise, false.
|
ResultReuseByAgeConfiguration |
withMaxAgeInMinutes(Integer maxAgeInMinutes)
Specifies, in minutes, the maximum age of a previous query result that Athena should consider for reuse.
|
public void setEnabled(Boolean enabled)
True if previous query results can be reused when the query is run; otherwise, false. The default is false.
enabled
- True if previous query results can be reused when the query is run; otherwise, false. The default is
false.public Boolean getEnabled()
True if previous query results can be reused when the query is run; otherwise, false. The default is false.
public ResultReuseByAgeConfiguration withEnabled(Boolean enabled)
True if previous query results can be reused when the query is run; otherwise, false. The default is false.
enabled
- True if previous query results can be reused when the query is run; otherwise, false. The default is
false.public Boolean isEnabled()
True if previous query results can be reused when the query is run; otherwise, false. The default is false.
public void setMaxAgeInMinutes(Integer maxAgeInMinutes)
Specifies, in minutes, the maximum age of a previous query result that Athena should consider for reuse. The default is 60.
maxAgeInMinutes
- Specifies, in minutes, the maximum age of a previous query result that Athena should consider for reuse.
The default is 60.public Integer getMaxAgeInMinutes()
Specifies, in minutes, the maximum age of a previous query result that Athena should consider for reuse. The default is 60.
public ResultReuseByAgeConfiguration withMaxAgeInMinutes(Integer maxAgeInMinutes)
Specifies, in minutes, the maximum age of a previous query result that Athena should consider for reuse. The default is 60.
maxAgeInMinutes
- Specifies, in minutes, the maximum age of a previous query result that Athena should consider for reuse.
The default is 60.public String toString()
toString
in class Object
Object.toString()
public ResultReuseByAgeConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.