Class AssociateSourceResourceRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.migrationhub.model.MigrationHubRequest
-
- software.amazon.awssdk.services.migrationhub.model.AssociateSourceResourceRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<AssociateSourceResourceRequest.Builder,AssociateSourceResourceRequest>
@Generated("software.amazon.awssdk:codegen") public final class AssociateSourceResourceRequest extends MigrationHubRequest implements ToCopyableBuilder<AssociateSourceResourceRequest.Builder,AssociateSourceResourceRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceAssociateSourceResourceRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AssociateSourceResourceRequest.Builderbuilder()BooleandryRun()This is an optional parameter that you can use to test whether the call will succeed.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringmigrationTaskName()A unique identifier that references the migration task.StringprogressUpdateStream()The name of the progress-update stream, which is used for access control as well as a namespace for migration-task names that is implicitly linked to your AWS account.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends AssociateSourceResourceRequest.Builder>serializableBuilderClass()SourceResourcesourceResource()The source resource that you want to associate.AssociateSourceResourceRequest.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
-
progressUpdateStream
public final String progressUpdateStream()
The name of the progress-update stream, which is used for access control as well as a namespace for migration-task names that is implicitly linked to your AWS account. The progress-update stream must uniquely identify the migration tool as it is used for all updates made by the tool; however, it does not need to be unique for each AWS account because it is scoped to the AWS account.
- Returns:
- The name of the progress-update stream, which is used for access control as well as a namespace for migration-task names that is implicitly linked to your AWS account. The progress-update stream must uniquely identify the migration tool as it is used for all updates made by the tool; however, it does not need to be unique for each AWS account because it is scoped to the AWS account.
-
migrationTaskName
public final String migrationTaskName()
A unique identifier that references the migration task. Do not include sensitive data in this field.
- Returns:
- A unique identifier that references the migration task. Do not include sensitive data in this field.
-
sourceResource
public final SourceResource sourceResource()
The source resource that you want to associate.
- Returns:
- The source resource that you want to associate.
-
dryRun
public final Boolean dryRun()
This is an optional parameter that you can use to test whether the call will succeed. Set this parameter to
trueto verify that you have the permissions that are required to make the call, and that you have specified the other parameters in the call correctly.- Returns:
- This is an optional parameter that you can use to test whether the call will succeed. Set this parameter
to
trueto verify that you have the permissions that are required to make the call, and that you have specified the other parameters in the call correctly.
-
toBuilder
public AssociateSourceResourceRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<AssociateSourceResourceRequest.Builder,AssociateSourceResourceRequest>- Specified by:
toBuilderin classMigrationHubRequest
-
builder
public static AssociateSourceResourceRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends AssociateSourceResourceRequest.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
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-