@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AnalysisParameter extends Object implements Serializable, Cloneable, StructuredPojo
Optional. The member who can query can provide this placeholder for a literal data value in an analysis template.
Constructor and Description |
---|
AnalysisParameter() |
Modifier and Type | Method and Description |
---|---|
AnalysisParameter |
clone() |
boolean |
equals(Object obj) |
String |
getDefaultValue()
Optional.
|
String |
getName()
The name of the parameter.
|
String |
getType()
The type of parameter.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDefaultValue(String defaultValue)
Optional.
|
void |
setName(String name)
The name of the parameter.
|
void |
setType(String type)
The type of parameter.
|
String |
toString()
Returns a string representation of this object.
|
AnalysisParameter |
withDefaultValue(String defaultValue)
Optional.
|
AnalysisParameter |
withName(String name)
The name of the parameter.
|
AnalysisParameter |
withType(ParameterType type)
The type of parameter.
|
AnalysisParameter |
withType(String type)
The type of parameter.
|
public void setName(String name)
The name of the parameter. The name must use only alphanumeric, underscore (_), or hyphen (-) characters but cannot start or end with a hyphen.
name
- The name of the parameter. The name must use only alphanumeric, underscore (_), or hyphen (-) characters
but cannot start or end with a hyphen.public String getName()
The name of the parameter. The name must use only alphanumeric, underscore (_), or hyphen (-) characters but cannot start or end with a hyphen.
public AnalysisParameter withName(String name)
The name of the parameter. The name must use only alphanumeric, underscore (_), or hyphen (-) characters but cannot start or end with a hyphen.
name
- The name of the parameter. The name must use only alphanumeric, underscore (_), or hyphen (-) characters
but cannot start or end with a hyphen.public void setType(String type)
The type of parameter.
type
- The type of parameter.ParameterType
public String getType()
The type of parameter.
ParameterType
public AnalysisParameter withType(String type)
The type of parameter.
type
- The type of parameter.ParameterType
public AnalysisParameter withType(ParameterType type)
The type of parameter.
type
- The type of parameter.ParameterType
public void setDefaultValue(String defaultValue)
Optional. The default value that is applied in the analysis template. The member who can query can override this value in the query editor.
defaultValue
- Optional. The default value that is applied in the analysis template. The member who can query can
override this value in the query editor.public String getDefaultValue()
Optional. The default value that is applied in the analysis template. The member who can query can override this value in the query editor.
public AnalysisParameter withDefaultValue(String defaultValue)
Optional. The default value that is applied in the analysis template. The member who can query can override this value in the query editor.
defaultValue
- Optional. The default value that is applied in the analysis template. The member who can query can
override this value in the query editor.public String toString()
toString
in class Object
Object.toString()
public AnalysisParameter clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.