@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AssociationVersionInfo extends Object implements Serializable, Cloneable, StructuredPojo
Information about the association version.
Constructor and Description |
---|
AssociationVersionInfo() |
Modifier and Type | Method and Description |
---|---|
AssociationVersionInfo |
addParametersEntry(String key,
List<String> value) |
AssociationVersionInfo |
clearParametersEntries()
Removes all the entries added into Parameters.
|
AssociationVersionInfo |
clone() |
boolean |
equals(Object obj) |
String |
getAssociationId()
The ID created by the system when the association was created.
|
String |
getAssociationName()
The name specified for the association version when the association version was created.
|
String |
getAssociationVersion()
The association version.
|
String |
getComplianceSeverity()
The severity level that is assigned to the association.
|
Date |
getCreatedDate()
The date the association version was created.
|
String |
getDocumentVersion()
The version of a Systems Manager document used when the association version was created.
|
String |
getMaxConcurrency()
The maximum number of targets allowed to run the association at the same time.
|
String |
getMaxErrors()
The number of errors that are allowed before the system stops sending requests to run the association on
additional targets.
|
String |
getName()
The name specified when the association was created.
|
InstanceAssociationOutputLocation |
getOutputLocation()
The location in Amazon S3 specified for the association when the association version was created.
|
Map<String,List<String>> |
getParameters()
Parameters specified when the association version was created.
|
String |
getScheduleExpression()
The cron or rate schedule specified for the association when the association version was created.
|
List<Target> |
getTargets()
The targets specified for the association when the association version was created.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAssociationId(String associationId)
The ID created by the system when the association was created.
|
void |
setAssociationName(String associationName)
The name specified for the association version when the association version was created.
|
void |
setAssociationVersion(String associationVersion)
The association version.
|
void |
setComplianceSeverity(String complianceSeverity)
The severity level that is assigned to the association.
|
void |
setCreatedDate(Date createdDate)
The date the association version was created.
|
void |
setDocumentVersion(String documentVersion)
The version of a Systems Manager document used when the association version was created.
|
void |
setMaxConcurrency(String maxConcurrency)
The maximum number of targets allowed to run the association at the same time.
|
void |
setMaxErrors(String maxErrors)
The number of errors that are allowed before the system stops sending requests to run the association on
additional targets.
|
void |
setName(String name)
The name specified when the association was created.
|
void |
setOutputLocation(InstanceAssociationOutputLocation outputLocation)
The location in Amazon S3 specified for the association when the association version was created.
|
void |
setParameters(Map<String,List<String>> parameters)
Parameters specified when the association version was created.
|
void |
setScheduleExpression(String scheduleExpression)
The cron or rate schedule specified for the association when the association version was created.
|
void |
setTargets(Collection<Target> targets)
The targets specified for the association when the association version was created.
|
String |
toString()
Returns a string representation of this object.
|
AssociationVersionInfo |
withAssociationId(String associationId)
The ID created by the system when the association was created.
|
AssociationVersionInfo |
withAssociationName(String associationName)
The name specified for the association version when the association version was created.
|
AssociationVersionInfo |
withAssociationVersion(String associationVersion)
The association version.
|
AssociationVersionInfo |
withComplianceSeverity(AssociationComplianceSeverity complianceSeverity)
The severity level that is assigned to the association.
|
AssociationVersionInfo |
withComplianceSeverity(String complianceSeverity)
The severity level that is assigned to the association.
|
AssociationVersionInfo |
withCreatedDate(Date createdDate)
The date the association version was created.
|
AssociationVersionInfo |
withDocumentVersion(String documentVersion)
The version of a Systems Manager document used when the association version was created.
|
AssociationVersionInfo |
withMaxConcurrency(String maxConcurrency)
The maximum number of targets allowed to run the association at the same time.
|
AssociationVersionInfo |
withMaxErrors(String maxErrors)
The number of errors that are allowed before the system stops sending requests to run the association on
additional targets.
|
AssociationVersionInfo |
withName(String name)
The name specified when the association was created.
|
AssociationVersionInfo |
withOutputLocation(InstanceAssociationOutputLocation outputLocation)
The location in Amazon S3 specified for the association when the association version was created.
|
AssociationVersionInfo |
withParameters(Map<String,List<String>> parameters)
Parameters specified when the association version was created.
|
AssociationVersionInfo |
withScheduleExpression(String scheduleExpression)
The cron or rate schedule specified for the association when the association version was created.
|
AssociationVersionInfo |
withTargets(Collection<Target> targets)
The targets specified for the association when the association version was created.
|
AssociationVersionInfo |
withTargets(Target... targets)
The targets specified for the association when the association version was created.
|
public void setAssociationId(String associationId)
The ID created by the system when the association was created.
associationId
- The ID created by the system when the association was created.public String getAssociationId()
The ID created by the system when the association was created.
public AssociationVersionInfo withAssociationId(String associationId)
The ID created by the system when the association was created.
associationId
- The ID created by the system when the association was created.public void setAssociationVersion(String associationVersion)
The association version.
associationVersion
- The association version.public String getAssociationVersion()
The association version.
public AssociationVersionInfo withAssociationVersion(String associationVersion)
The association version.
associationVersion
- The association version.public void setCreatedDate(Date createdDate)
The date the association version was created.
createdDate
- The date the association version was created.public Date getCreatedDate()
The date the association version was created.
public AssociationVersionInfo withCreatedDate(Date createdDate)
The date the association version was created.
createdDate
- The date the association version was created.public void setName(String name)
The name specified when the association was created.
name
- The name specified when the association was created.public String getName()
The name specified when the association was created.
public AssociationVersionInfo withName(String name)
The name specified when the association was created.
name
- The name specified when the association was created.public void setDocumentVersion(String documentVersion)
The version of a Systems Manager document used when the association version was created.
documentVersion
- The version of a Systems Manager document used when the association version was created.public String getDocumentVersion()
The version of a Systems Manager document used when the association version was created.
public AssociationVersionInfo withDocumentVersion(String documentVersion)
The version of a Systems Manager document used when the association version was created.
documentVersion
- The version of a Systems Manager document used when the association version was created.public Map<String,List<String>> getParameters()
Parameters specified when the association version was created.
public void setParameters(Map<String,List<String>> parameters)
Parameters specified when the association version was created.
parameters
- Parameters specified when the association version was created.public AssociationVersionInfo withParameters(Map<String,List<String>> parameters)
Parameters specified when the association version was created.
parameters
- Parameters specified when the association version was created.public AssociationVersionInfo addParametersEntry(String key, List<String> value)
public AssociationVersionInfo clearParametersEntries()
public List<Target> getTargets()
The targets specified for the association when the association version was created.
public void setTargets(Collection<Target> targets)
The targets specified for the association when the association version was created.
targets
- The targets specified for the association when the association version was created.public AssociationVersionInfo withTargets(Target... targets)
The targets specified for the association when the association version was created.
NOTE: This method appends the values to the existing list (if any). Use
setTargets(java.util.Collection)
or withTargets(java.util.Collection)
if you want to override
the existing values.
targets
- The targets specified for the association when the association version was created.public AssociationVersionInfo withTargets(Collection<Target> targets)
The targets specified for the association when the association version was created.
targets
- The targets specified for the association when the association version was created.public void setScheduleExpression(String scheduleExpression)
The cron or rate schedule specified for the association when the association version was created.
scheduleExpression
- The cron or rate schedule specified for the association when the association version was created.public String getScheduleExpression()
The cron or rate schedule specified for the association when the association version was created.
public AssociationVersionInfo withScheduleExpression(String scheduleExpression)
The cron or rate schedule specified for the association when the association version was created.
scheduleExpression
- The cron or rate schedule specified for the association when the association version was created.public void setOutputLocation(InstanceAssociationOutputLocation outputLocation)
The location in Amazon S3 specified for the association when the association version was created.
outputLocation
- The location in Amazon S3 specified for the association when the association version was created.public InstanceAssociationOutputLocation getOutputLocation()
The location in Amazon S3 specified for the association when the association version was created.
public AssociationVersionInfo withOutputLocation(InstanceAssociationOutputLocation outputLocation)
The location in Amazon S3 specified for the association when the association version was created.
outputLocation
- The location in Amazon S3 specified for the association when the association version was created.public void setAssociationName(String associationName)
The name specified for the association version when the association version was created.
associationName
- The name specified for the association version when the association version was created.public String getAssociationName()
The name specified for the association version when the association version was created.
public AssociationVersionInfo withAssociationName(String associationName)
The name specified for the association version when the association version was created.
associationName
- The name specified for the association version when the association version was created.public void setMaxErrors(String maxErrors)
The number of errors that are allowed before the system stops sending requests to run the association on additional targets. You can specify either an absolute number of errors, for example 10, or a percentage of the target set, for example 10%. If you specify 3, for example, the system stops sending requests when the fourth error is received. If you specify 0, then the system stops sending requests after the first error is returned. If you run an association on 50 instances and set MaxError to 10%, then the system stops sending the request when the sixth error is received.
Executions that are already running an association when MaxErrors is reached are allowed to complete, but some of these executions may fail as well. If you need to ensure that there won't be more than max-errors failed executions, set MaxConcurrency to 1 so that executions proceed one at a time.
maxErrors
- The number of errors that are allowed before the system stops sending requests to run the association on
additional targets. You can specify either an absolute number of errors, for example 10, or a percentage
of the target set, for example 10%. If you specify 3, for example, the system stops sending requests when
the fourth error is received. If you specify 0, then the system stops sending requests after the first
error is returned. If you run an association on 50 instances and set MaxError to 10%, then the system
stops sending the request when the sixth error is received.
Executions that are already running an association when MaxErrors is reached are allowed to complete, but some of these executions may fail as well. If you need to ensure that there won't be more than max-errors failed executions, set MaxConcurrency to 1 so that executions proceed one at a time.
public String getMaxErrors()
The number of errors that are allowed before the system stops sending requests to run the association on additional targets. You can specify either an absolute number of errors, for example 10, or a percentage of the target set, for example 10%. If you specify 3, for example, the system stops sending requests when the fourth error is received. If you specify 0, then the system stops sending requests after the first error is returned. If you run an association on 50 instances and set MaxError to 10%, then the system stops sending the request when the sixth error is received.
Executions that are already running an association when MaxErrors is reached are allowed to complete, but some of these executions may fail as well. If you need to ensure that there won't be more than max-errors failed executions, set MaxConcurrency to 1 so that executions proceed one at a time.
Executions that are already running an association when MaxErrors is reached are allowed to complete, but some of these executions may fail as well. If you need to ensure that there won't be more than max-errors failed executions, set MaxConcurrency to 1 so that executions proceed one at a time.
public AssociationVersionInfo withMaxErrors(String maxErrors)
The number of errors that are allowed before the system stops sending requests to run the association on additional targets. You can specify either an absolute number of errors, for example 10, or a percentage of the target set, for example 10%. If you specify 3, for example, the system stops sending requests when the fourth error is received. If you specify 0, then the system stops sending requests after the first error is returned. If you run an association on 50 instances and set MaxError to 10%, then the system stops sending the request when the sixth error is received.
Executions that are already running an association when MaxErrors is reached are allowed to complete, but some of these executions may fail as well. If you need to ensure that there won't be more than max-errors failed executions, set MaxConcurrency to 1 so that executions proceed one at a time.
maxErrors
- The number of errors that are allowed before the system stops sending requests to run the association on
additional targets. You can specify either an absolute number of errors, for example 10, or a percentage
of the target set, for example 10%. If you specify 3, for example, the system stops sending requests when
the fourth error is received. If you specify 0, then the system stops sending requests after the first
error is returned. If you run an association on 50 instances and set MaxError to 10%, then the system
stops sending the request when the sixth error is received.
Executions that are already running an association when MaxErrors is reached are allowed to complete, but some of these executions may fail as well. If you need to ensure that there won't be more than max-errors failed executions, set MaxConcurrency to 1 so that executions proceed one at a time.
public void setMaxConcurrency(String maxConcurrency)
The maximum number of targets allowed to run the association at the same time. You can specify a number, for example 10, or a percentage of the target set, for example 10%. The default value is 100%, which means all targets run the association at the same time.
If a new instance starts and attempts to run an association while Systems Manager is running MaxConcurrency associations, the association is allowed to run. During the next association interval, the new instance will process its association within the limit specified for MaxConcurrency.
maxConcurrency
- The maximum number of targets allowed to run the association at the same time. You can specify a number,
for example 10, or a percentage of the target set, for example 10%. The default value is 100%, which means
all targets run the association at the same time.
If a new instance starts and attempts to run an association while Systems Manager is running MaxConcurrency associations, the association is allowed to run. During the next association interval, the new instance will process its association within the limit specified for MaxConcurrency.
public String getMaxConcurrency()
The maximum number of targets allowed to run the association at the same time. You can specify a number, for example 10, or a percentage of the target set, for example 10%. The default value is 100%, which means all targets run the association at the same time.
If a new instance starts and attempts to run an association while Systems Manager is running MaxConcurrency associations, the association is allowed to run. During the next association interval, the new instance will process its association within the limit specified for MaxConcurrency.
If a new instance starts and attempts to run an association while Systems Manager is running MaxConcurrency associations, the association is allowed to run. During the next association interval, the new instance will process its association within the limit specified for MaxConcurrency.
public AssociationVersionInfo withMaxConcurrency(String maxConcurrency)
The maximum number of targets allowed to run the association at the same time. You can specify a number, for example 10, or a percentage of the target set, for example 10%. The default value is 100%, which means all targets run the association at the same time.
If a new instance starts and attempts to run an association while Systems Manager is running MaxConcurrency associations, the association is allowed to run. During the next association interval, the new instance will process its association within the limit specified for MaxConcurrency.
maxConcurrency
- The maximum number of targets allowed to run the association at the same time. You can specify a number,
for example 10, or a percentage of the target set, for example 10%. The default value is 100%, which means
all targets run the association at the same time.
If a new instance starts and attempts to run an association while Systems Manager is running MaxConcurrency associations, the association is allowed to run. During the next association interval, the new instance will process its association within the limit specified for MaxConcurrency.
public void setComplianceSeverity(String complianceSeverity)
The severity level that is assigned to the association.
complianceSeverity
- The severity level that is assigned to the association.AssociationComplianceSeverity
public String getComplianceSeverity()
The severity level that is assigned to the association.
AssociationComplianceSeverity
public AssociationVersionInfo withComplianceSeverity(String complianceSeverity)
The severity level that is assigned to the association.
complianceSeverity
- The severity level that is assigned to the association.AssociationComplianceSeverity
public AssociationVersionInfo withComplianceSeverity(AssociationComplianceSeverity complianceSeverity)
The severity level that is assigned to the association.
complianceSeverity
- The severity level that is assigned to the association.AssociationComplianceSeverity
public String toString()
toString
in class Object
Object.toString()
public AssociationVersionInfo clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.