public class CreateAssociationBatchRequestEntry extends Object implements Serializable, Cloneable
Describes the association of a configuration document and an instance.
Constructor and Description |
---|
CreateAssociationBatchRequestEntry() |
Modifier and Type | Method and Description |
---|---|
CreateAssociationBatchRequestEntry |
clone() |
boolean |
equals(Object obj) |
String |
getInstanceId()
The ID of the instance.
|
String |
getName()
The name of the configuration document.
|
int |
hashCode() |
void |
setInstanceId(String instanceId)
The ID of the instance.
|
void |
setName(String name)
The name of the configuration document.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CreateAssociationBatchRequestEntry |
withInstanceId(String instanceId)
The ID of the instance.
|
CreateAssociationBatchRequestEntry |
withName(String name)
The name of the configuration document.
|
public String getName()
Constraints:
Length: 3 - 64
Pattern: ^[a-zA-Z0-9_\-.]{3,64}$
public void setName(String name)
Constraints:
Length: 3 - 64
Pattern: ^[a-zA-Z0-9_\-.]{3,64}$
name
- The name of the configuration document.public CreateAssociationBatchRequestEntry withName(String name)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 3 - 64
Pattern: ^[a-zA-Z0-9_\-.]{3,64}$
name
- The name of the configuration document.public String getInstanceId()
Constraints:
Length: 10 - 10
Pattern: ^(?=.{10}$)(i-(\w){8})
public void setInstanceId(String instanceId)
Constraints:
Length: 10 - 10
Pattern: ^(?=.{10}$)(i-(\w){8})
instanceId
- The ID of the instance.public CreateAssociationBatchRequestEntry withInstanceId(String instanceId)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 10 - 10
Pattern: ^(?=.{10}$)(i-(\w){8})
instanceId
- The ID of the instance.public String toString()
toString
in class Object
Object.toString()
public CreateAssociationBatchRequestEntry clone()
Copyright © 2015. All rights reserved.