@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AnalysisRule extends Object implements Serializable, Cloneable, StructuredPojo
A specification about how data from the configured table can be used in a query.
Constructor and Description |
---|
AnalysisRule() |
Modifier and Type | Method and Description |
---|---|
AnalysisRule |
clone() |
boolean |
equals(Object obj) |
String |
getCollaborationId()
The unique ID for the associated collaboration.
|
Date |
getCreateTime()
The time the analysis rule was created.
|
String |
getName()
The name for the analysis rule.
|
AnalysisRulePolicy |
getPolicy()
A policy that describes the associated data usage limitations.
|
String |
getType()
The type of analysis rule.
|
Date |
getUpdateTime()
The time the analysis rule was last updated.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCollaborationId(String collaborationId)
The unique ID for the associated collaboration.
|
void |
setCreateTime(Date createTime)
The time the analysis rule was created.
|
void |
setName(String name)
The name for the analysis rule.
|
void |
setPolicy(AnalysisRulePolicy policy)
A policy that describes the associated data usage limitations.
|
void |
setType(String type)
The type of analysis rule.
|
void |
setUpdateTime(Date updateTime)
The time the analysis rule was last updated.
|
String |
toString()
Returns a string representation of this object.
|
AnalysisRule |
withCollaborationId(String collaborationId)
The unique ID for the associated collaboration.
|
AnalysisRule |
withCreateTime(Date createTime)
The time the analysis rule was created.
|
AnalysisRule |
withName(String name)
The name for the analysis rule.
|
AnalysisRule |
withPolicy(AnalysisRulePolicy policy)
A policy that describes the associated data usage limitations.
|
AnalysisRule |
withType(AnalysisRuleType type)
The type of analysis rule.
|
AnalysisRule |
withType(String type)
The type of analysis rule.
|
AnalysisRule |
withUpdateTime(Date updateTime)
The time the analysis rule was last updated.
|
public void setCollaborationId(String collaborationId)
The unique ID for the associated collaboration.
collaborationId
- The unique ID for the associated collaboration.public String getCollaborationId()
The unique ID for the associated collaboration.
public AnalysisRule withCollaborationId(String collaborationId)
The unique ID for the associated collaboration.
collaborationId
- The unique ID for the associated collaboration.public void setType(String type)
The type of analysis rule. Valid values are `AGGREGATION` and `LIST`.
type
- The type of analysis rule. Valid values are `AGGREGATION` and `LIST`.AnalysisRuleType
public String getType()
The type of analysis rule. Valid values are `AGGREGATION` and `LIST`.
AnalysisRuleType
public AnalysisRule withType(String type)
The type of analysis rule. Valid values are `AGGREGATION` and `LIST`.
type
- The type of analysis rule. Valid values are `AGGREGATION` and `LIST`.AnalysisRuleType
public AnalysisRule withType(AnalysisRuleType type)
The type of analysis rule. Valid values are `AGGREGATION` and `LIST`.
type
- The type of analysis rule. Valid values are `AGGREGATION` and `LIST`.AnalysisRuleType
public void setName(String name)
The name for the analysis rule.
name
- The name for the analysis rule.public String getName()
The name for the analysis rule.
public AnalysisRule withName(String name)
The name for the analysis rule.
name
- The name for the analysis rule.public void setCreateTime(Date createTime)
The time the analysis rule was created.
createTime
- The time the analysis rule was created.public Date getCreateTime()
The time the analysis rule was created.
public AnalysisRule withCreateTime(Date createTime)
The time the analysis rule was created.
createTime
- The time the analysis rule was created.public void setUpdateTime(Date updateTime)
The time the analysis rule was last updated.
updateTime
- The time the analysis rule was last updated.public Date getUpdateTime()
The time the analysis rule was last updated.
public AnalysisRule withUpdateTime(Date updateTime)
The time the analysis rule was last updated.
updateTime
- The time the analysis rule was last updated.public void setPolicy(AnalysisRulePolicy policy)
A policy that describes the associated data usage limitations.
policy
- A policy that describes the associated data usage limitations.public AnalysisRulePolicy getPolicy()
A policy that describes the associated data usage limitations.
public AnalysisRule withPolicy(AnalysisRulePolicy policy)
A policy that describes the associated data usage limitations.
policy
- A policy that describes the associated data usage limitations.public String toString()
toString
in class Object
Object.toString()
public AnalysisRule clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.