@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PutResourceAttributesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
PutResourceAttributesRequest() |
Modifier and Type | Method and Description |
---|---|
PutResourceAttributesRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Boolean |
getDryRun()
Optional boolean flag to indicate whether any effect should take place.
|
String |
getMigrationTaskName()
Unique identifier that references the migration task.
|
String |
getProgressUpdateStream()
The name of the ProgressUpdateStream.
|
List<ResourceAttribute> |
getResourceAttributeList()
Information about the resource that is being migrated.
|
int |
hashCode() |
Boolean |
isDryRun()
Optional boolean flag to indicate whether any effect should take place.
|
void |
setDryRun(Boolean dryRun)
Optional boolean flag to indicate whether any effect should take place.
|
void |
setMigrationTaskName(String migrationTaskName)
Unique identifier that references the migration task.
|
void |
setProgressUpdateStream(String progressUpdateStream)
The name of the ProgressUpdateStream.
|
void |
setResourceAttributeList(Collection<ResourceAttribute> resourceAttributeList)
Information about the resource that is being migrated.
|
String |
toString()
Returns a string representation of this object.
|
PutResourceAttributesRequest |
withDryRun(Boolean dryRun)
Optional boolean flag to indicate whether any effect should take place.
|
PutResourceAttributesRequest |
withMigrationTaskName(String migrationTaskName)
Unique identifier that references the migration task.
|
PutResourceAttributesRequest |
withProgressUpdateStream(String progressUpdateStream)
The name of the ProgressUpdateStream.
|
PutResourceAttributesRequest |
withResourceAttributeList(Collection<ResourceAttribute> resourceAttributeList)
Information about the resource that is being migrated.
|
PutResourceAttributesRequest |
withResourceAttributeList(ResourceAttribute... resourceAttributeList)
Information about the resource that is being migrated.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setProgressUpdateStream(String progressUpdateStream)
The name of the ProgressUpdateStream.
progressUpdateStream
- The name of the ProgressUpdateStream.public String getProgressUpdateStream()
The name of the ProgressUpdateStream.
public PutResourceAttributesRequest withProgressUpdateStream(String progressUpdateStream)
The name of the ProgressUpdateStream.
progressUpdateStream
- The name of the ProgressUpdateStream.public void setMigrationTaskName(String migrationTaskName)
Unique identifier that references the migration task. Do not store personal data in this field.
migrationTaskName
- Unique identifier that references the migration task. Do not store personal data in this field.public String getMigrationTaskName()
Unique identifier that references the migration task. Do not store personal data in this field.
public PutResourceAttributesRequest withMigrationTaskName(String migrationTaskName)
Unique identifier that references the migration task. Do not store personal data in this field.
migrationTaskName
- Unique identifier that references the migration task. Do not store personal data in this field.public List<ResourceAttribute> getResourceAttributeList()
Information about the resource that is being migrated. This data will be used to map the task to a resource in the Application Discovery Service repository.
Takes the object array of ResourceAttribute
where the Type
field is reserved for the
following values:
IPV4_ADDRESS | IPV6_ADDRESS | MAC_ADDRESS | FQDN | VM_MANAGER_ID | VM_MANAGED_OBJECT_REFERENCE | VM_NAME | VM_PATH | BIOS_ID | MOTHERBOARD_SERIAL_NUMBER
where the identifying value can be a string up to 256 characters.
If any "VM" related value is set for a ResourceAttribute
object, it is required that
VM_MANAGER_ID
, as a minimum, is always set. If VM_MANAGER_ID
is not set, then all "VM"
fields will be discarded and "VM" fields will not be used for matching the migration task to a server in
Application Discovery Service repository. See the Example section below for a use case of specifying "VM" related values.
If a server you are trying to match has multiple IP or MAC addresses, you should provide as many as you know in
separate type/value pairs passed to the ResourceAttributeList
parameter to maximize the chances of
matching.
Takes the object array of ResourceAttribute
where the Type
field is reserved
for the following values:
IPV4_ADDRESS | IPV6_ADDRESS | MAC_ADDRESS | FQDN | VM_MANAGER_ID | VM_MANAGED_OBJECT_REFERENCE | VM_NAME | VM_PATH | BIOS_ID | MOTHERBOARD_SERIAL_NUMBER
where the identifying value can be a string up to 256 characters.
If any "VM" related value is set for a ResourceAttribute
object, it is required that
VM_MANAGER_ID
, as a minimum, is always set. If VM_MANAGER_ID
is not set, then
all "VM" fields will be discarded and "VM" fields will not be used for matching the migration task to a
server in Application Discovery Service repository. See the Example section below for a use case of specifying "VM" related values.
If a server you are trying to match has multiple IP or MAC addresses, you should provide as many as you
know in separate type/value pairs passed to the ResourceAttributeList
parameter to maximize
the chances of matching.
public void setResourceAttributeList(Collection<ResourceAttribute> resourceAttributeList)
Information about the resource that is being migrated. This data will be used to map the task to a resource in the Application Discovery Service repository.
Takes the object array of ResourceAttribute
where the Type
field is reserved for the
following values:
IPV4_ADDRESS | IPV6_ADDRESS | MAC_ADDRESS | FQDN | VM_MANAGER_ID | VM_MANAGED_OBJECT_REFERENCE | VM_NAME | VM_PATH | BIOS_ID | MOTHERBOARD_SERIAL_NUMBER
where the identifying value can be a string up to 256 characters.
If any "VM" related value is set for a ResourceAttribute
object, it is required that
VM_MANAGER_ID
, as a minimum, is always set. If VM_MANAGER_ID
is not set, then all "VM"
fields will be discarded and "VM" fields will not be used for matching the migration task to a server in
Application Discovery Service repository. See the Example section below for a use case of specifying "VM" related values.
If a server you are trying to match has multiple IP or MAC addresses, you should provide as many as you know in
separate type/value pairs passed to the ResourceAttributeList
parameter to maximize the chances of
matching.
resourceAttributeList
- Information about the resource that is being migrated. This data will be used to map the task to a
resource in the Application Discovery Service repository.
Takes the object array of ResourceAttribute
where the Type
field is reserved for
the following values:
IPV4_ADDRESS | IPV6_ADDRESS | MAC_ADDRESS | FQDN | VM_MANAGER_ID | VM_MANAGED_OBJECT_REFERENCE | VM_NAME | VM_PATH | BIOS_ID | MOTHERBOARD_SERIAL_NUMBER
where the identifying value can be a string up to 256 characters.
If any "VM" related value is set for a ResourceAttribute
object, it is required that
VM_MANAGER_ID
, as a minimum, is always set. If VM_MANAGER_ID
is not set, then
all "VM" fields will be discarded and "VM" fields will not be used for matching the migration task to a
server in Application Discovery Service repository. See the Example section below for a use case of specifying "VM" related values.
If a server you are trying to match has multiple IP or MAC addresses, you should provide as many as you
know in separate type/value pairs passed to the ResourceAttributeList
parameter to maximize
the chances of matching.
public PutResourceAttributesRequest withResourceAttributeList(ResourceAttribute... resourceAttributeList)
Information about the resource that is being migrated. This data will be used to map the task to a resource in the Application Discovery Service repository.
Takes the object array of ResourceAttribute
where the Type
field is reserved for the
following values:
IPV4_ADDRESS | IPV6_ADDRESS | MAC_ADDRESS | FQDN | VM_MANAGER_ID | VM_MANAGED_OBJECT_REFERENCE | VM_NAME | VM_PATH | BIOS_ID | MOTHERBOARD_SERIAL_NUMBER
where the identifying value can be a string up to 256 characters.
If any "VM" related value is set for a ResourceAttribute
object, it is required that
VM_MANAGER_ID
, as a minimum, is always set. If VM_MANAGER_ID
is not set, then all "VM"
fields will be discarded and "VM" fields will not be used for matching the migration task to a server in
Application Discovery Service repository. See the Example section below for a use case of specifying "VM" related values.
If a server you are trying to match has multiple IP or MAC addresses, you should provide as many as you know in
separate type/value pairs passed to the ResourceAttributeList
parameter to maximize the chances of
matching.
NOTE: This method appends the values to the existing list (if any). Use
setResourceAttributeList(java.util.Collection)
or
withResourceAttributeList(java.util.Collection)
if you want to override the existing values.
resourceAttributeList
- Information about the resource that is being migrated. This data will be used to map the task to a
resource in the Application Discovery Service repository.
Takes the object array of ResourceAttribute
where the Type
field is reserved for
the following values:
IPV4_ADDRESS | IPV6_ADDRESS | MAC_ADDRESS | FQDN | VM_MANAGER_ID | VM_MANAGED_OBJECT_REFERENCE | VM_NAME | VM_PATH | BIOS_ID | MOTHERBOARD_SERIAL_NUMBER
where the identifying value can be a string up to 256 characters.
If any "VM" related value is set for a ResourceAttribute
object, it is required that
VM_MANAGER_ID
, as a minimum, is always set. If VM_MANAGER_ID
is not set, then
all "VM" fields will be discarded and "VM" fields will not be used for matching the migration task to a
server in Application Discovery Service repository. See the Example section below for a use case of specifying "VM" related values.
If a server you are trying to match has multiple IP or MAC addresses, you should provide as many as you
know in separate type/value pairs passed to the ResourceAttributeList
parameter to maximize
the chances of matching.
public PutResourceAttributesRequest withResourceAttributeList(Collection<ResourceAttribute> resourceAttributeList)
Information about the resource that is being migrated. This data will be used to map the task to a resource in the Application Discovery Service repository.
Takes the object array of ResourceAttribute
where the Type
field is reserved for the
following values:
IPV4_ADDRESS | IPV6_ADDRESS | MAC_ADDRESS | FQDN | VM_MANAGER_ID | VM_MANAGED_OBJECT_REFERENCE | VM_NAME | VM_PATH | BIOS_ID | MOTHERBOARD_SERIAL_NUMBER
where the identifying value can be a string up to 256 characters.
If any "VM" related value is set for a ResourceAttribute
object, it is required that
VM_MANAGER_ID
, as a minimum, is always set. If VM_MANAGER_ID
is not set, then all "VM"
fields will be discarded and "VM" fields will not be used for matching the migration task to a server in
Application Discovery Service repository. See the Example section below for a use case of specifying "VM" related values.
If a server you are trying to match has multiple IP or MAC addresses, you should provide as many as you know in
separate type/value pairs passed to the ResourceAttributeList
parameter to maximize the chances of
matching.
resourceAttributeList
- Information about the resource that is being migrated. This data will be used to map the task to a
resource in the Application Discovery Service repository.
Takes the object array of ResourceAttribute
where the Type
field is reserved for
the following values:
IPV4_ADDRESS | IPV6_ADDRESS | MAC_ADDRESS | FQDN | VM_MANAGER_ID | VM_MANAGED_OBJECT_REFERENCE | VM_NAME | VM_PATH | BIOS_ID | MOTHERBOARD_SERIAL_NUMBER
where the identifying value can be a string up to 256 characters.
If any "VM" related value is set for a ResourceAttribute
object, it is required that
VM_MANAGER_ID
, as a minimum, is always set. If VM_MANAGER_ID
is not set, then
all "VM" fields will be discarded and "VM" fields will not be used for matching the migration task to a
server in Application Discovery Service repository. See the Example section below for a use case of specifying "VM" related values.
If a server you are trying to match has multiple IP or MAC addresses, you should provide as many as you
know in separate type/value pairs passed to the ResourceAttributeList
parameter to maximize
the chances of matching.
public void setDryRun(Boolean dryRun)
Optional boolean flag to indicate whether any effect should take place. Used to test if the caller has permission to make the call.
dryRun
- Optional boolean flag to indicate whether any effect should take place. Used to test if the caller has
permission to make the call.public Boolean getDryRun()
Optional boolean flag to indicate whether any effect should take place. Used to test if the caller has permission to make the call.
public PutResourceAttributesRequest withDryRun(Boolean dryRun)
Optional boolean flag to indicate whether any effect should take place. Used to test if the caller has permission to make the call.
dryRun
- Optional boolean flag to indicate whether any effect should take place. Used to test if the caller has
permission to make the call.public Boolean isDryRun()
Optional boolean flag to indicate whether any effect should take place. Used to test if the caller has permission to make the call.
public String toString()
toString
in class Object
Object.toString()
public PutResourceAttributesRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()