Class StartImportTaskRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.applicationdiscovery.model.ApplicationDiscoveryRequest
-
- software.amazon.awssdk.services.applicationdiscovery.model.StartImportTaskRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<StartImportTaskRequest.Builder,StartImportTaskRequest>
@Generated("software.amazon.awssdk:codegen") public final class StartImportTaskRequest extends ApplicationDiscoveryRequest implements ToCopyableBuilder<StartImportTaskRequest.Builder,StartImportTaskRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceStartImportTaskRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static StartImportTaskRequest.Builderbuilder()StringclientRequestToken()Optional.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringimportUrl()The URL for your import file that you've uploaded to Amazon S3.Stringname()A descriptive name for this request.List<SdkField<?>>sdkFields()static Class<? extends StartImportTaskRequest.Builder>serializableBuilderClass()StartImportTaskRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
clientRequestToken
public final String clientRequestToken()
Optional. A unique token that you can provide to prevent the same import request from occurring more than once. If you don't provide a token, a token is automatically generated.
Sending more than one
StartImportTaskrequest with the same client request token will return information about the original import task with that client request token.- Returns:
- Optional. A unique token that you can provide to prevent the same import request from occurring more than
once. If you don't provide a token, a token is automatically generated.
Sending more than one
StartImportTaskrequest with the same client request token will return information about the original import task with that client request token.
-
name
public final String name()
A descriptive name for this request. You can use this name to filter future requests related to this import task, such as identifying applications and servers that were included in this import task. We recommend that you use a meaningful name for each import task.
- Returns:
- A descriptive name for this request. You can use this name to filter future requests related to this import task, such as identifying applications and servers that were included in this import task. We recommend that you use a meaningful name for each import task.
-
importUrl
public final String importUrl()
The URL for your import file that you've uploaded to Amazon S3.
If you're using the Amazon Web Services CLI, this URL is structured as follows:
s3://BucketName/ImportFileName.CSV- Returns:
- The URL for your import file that you've uploaded to Amazon S3.
If you're using the Amazon Web Services CLI, this URL is structured as follows:
s3://BucketName/ImportFileName.CSV
-
toBuilder
public StartImportTaskRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<StartImportTaskRequest.Builder,StartImportTaskRequest>- Specified by:
toBuilderin classApplicationDiscoveryRequest
-
builder
public static StartImportTaskRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends StartImportTaskRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
-