Class CreateHomeRegionControlRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.migrationhubconfig.model.MigrationHubConfigRequest
-
- software.amazon.awssdk.services.migrationhubconfig.model.CreateHomeRegionControlRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<CreateHomeRegionControlRequest.Builder,CreateHomeRegionControlRequest>
@Generated("software.amazon.awssdk:codegen") public final class CreateHomeRegionControlRequest extends MigrationHubConfigRequest implements ToCopyableBuilder<CreateHomeRegionControlRequest.Builder,CreateHomeRegionControlRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceCreateHomeRegionControlRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CreateHomeRegionControlRequest.Builderbuilder()BooleandryRun()Optional Boolean flag to indicate whether any effect should take place.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringhomeRegion()The name of the home region of the calling account.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends CreateHomeRegionControlRequest.Builder>serializableBuilderClass()Targettarget()The account for which this command sets up a home region control.CreateHomeRegionControlRequest.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
-
homeRegion
public final String homeRegion()
The name of the home region of the calling account.
- Returns:
- The name of the home region of the calling account.
-
target
public final Target target()
The account for which this command sets up a home region control. The
Targetis always of typeACCOUNT.- Returns:
- The account for which this command sets up a home region control. The
Targetis always of typeACCOUNT.
-
dryRun
public final Boolean dryRun()
Optional Boolean flag to indicate whether any effect should take place. It tests whether the caller has permission to make the call.
- Returns:
- Optional Boolean flag to indicate whether any effect should take place. It tests whether the caller has permission to make the call.
-
toBuilder
public CreateHomeRegionControlRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<CreateHomeRegionControlRequest.Builder,CreateHomeRegionControlRequest>- Specified by:
toBuilderin classMigrationHubConfigRequest
-
builder
public static CreateHomeRegionControlRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends CreateHomeRegionControlRequest.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
-
-