@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ControlInputParameter extends Object implements Serializable, Cloneable, StructuredPojo
A list of parameters for a control. A control can have zero, one, or more than one parameter. An example of a control
with two parameters is: "backup plan frequency is at least daily
and the retention period is at least
1 year
". The first parameter is daily
. The second parameter is 1 year
.
Constructor and Description |
---|
ControlInputParameter() |
Modifier and Type | Method and Description |
---|---|
ControlInputParameter |
clone() |
boolean |
equals(Object obj) |
String |
getParameterName()
The name of a parameter, for example,
BackupPlanFrequency . |
String |
getParameterValue()
The value of parameter, for example,
hourly . |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setParameterName(String parameterName)
The name of a parameter, for example,
BackupPlanFrequency . |
void |
setParameterValue(String parameterValue)
The value of parameter, for example,
hourly . |
String |
toString()
Returns a string representation of this object.
|
ControlInputParameter |
withParameterName(String parameterName)
The name of a parameter, for example,
BackupPlanFrequency . |
ControlInputParameter |
withParameterValue(String parameterValue)
The value of parameter, for example,
hourly . |
public void setParameterName(String parameterName)
The name of a parameter, for example, BackupPlanFrequency
.
parameterName
- The name of a parameter, for example, BackupPlanFrequency
.public String getParameterName()
The name of a parameter, for example, BackupPlanFrequency
.
BackupPlanFrequency
.public ControlInputParameter withParameterName(String parameterName)
The name of a parameter, for example, BackupPlanFrequency
.
parameterName
- The name of a parameter, for example, BackupPlanFrequency
.public void setParameterValue(String parameterValue)
The value of parameter, for example, hourly
.
parameterValue
- The value of parameter, for example, hourly
.public String getParameterValue()
The value of parameter, for example, hourly
.
hourly
.public ControlInputParameter withParameterValue(String parameterValue)
The value of parameter, for example, hourly
.
parameterValue
- The value of parameter, for example, hourly
.public String toString()
toString
in class Object
Object.toString()
public ControlInputParameter clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.