@Generated(value="software.amazon.awssdk:codegen") public final class CreateAgentRequest extends DataSyncRequest implements ToCopyableBuilder<CreateAgentRequest.Builder,CreateAgentRequest>
CreateAgentRequest
| Modifier and Type | Class and Description |
|---|---|
static interface |
CreateAgentRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
activationKey()
Your agent activation key.
|
String |
agentName()
The name you configured for your agent.
|
static CreateAgentRequest.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends CreateAgentRequest.Builder> |
serializableBuilderClass() |
List<TagListEntry> |
tags()
The key-value pair that represents the tag you want to associate with the agent.
|
CreateAgentRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic String activationKey()
Your agent activation key. You can get the activation key either by sending an HTTP GET request with redirects that enable you to get the agent IP address (port 80). Alternatively, you can get it from the AWS DataSync console.
The redirect URL returned in the response provides you the activation key for your agent in the query string
parameter activationKey. It might also include other activation-related parameters; however, these
are merely defaults. The arguments you pass to this API call determine the actual configuration of your agent.
For more information, see Activating a Sync Agent in the AWS DataSync User Guide.
The redirect URL returned in the response provides you the activation key for your agent in the query
string parameter activationKey. It might also include other activation-related parameters;
however, these are merely defaults. The arguments you pass to this API call determine the actual
configuration of your agent. For more information, see Activating a Sync Agent in the AWS DataSync User Guide.
public String agentName()
The name you configured for your agent. This value is a text reference that is used to identify the agent in the console.
public List<TagListEntry> tags()
The key-value pair that represents the tag you want to associate with the agent. The value can be an empty string. This value helps you manage, filter, and search for your agents.
Valid characters for key and value are letters, spaces, and numbers representable in UTF-8 format, and the following special characters: + - = . _ : / @.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
Valid characters for key and value are letters, spaces, and numbers representable in UTF-8 format, and the following special characters: + - = . _ : / @.
public CreateAgentRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CreateAgentRequest.Builder,CreateAgentRequest>toBuilder in class DataSyncRequestpublic static CreateAgentRequest.Builder builder()
public static Class<? extends CreateAgentRequest.Builder> serializableBuilderClass()
public String toString()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2019. All rights reserved.