Interface UpdateInstanceRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateInstanceRequest.Builder,,UpdateInstanceRequest> SdkBuilder<UpdateInstanceRequest.Builder,,UpdateInstanceRequest> SdkPojo,SdkRequest.Builder,SsoAdminRequest.Builder
- Enclosing class:
UpdateInstanceRequest
-
Method Summary
Modifier and TypeMethodDescriptiondefault UpdateInstanceRequest.BuilderencryptionConfiguration(Consumer<EncryptionConfiguration.Builder> encryptionConfiguration) Specifies the encryption configuration for your IAM Identity Center instance.encryptionConfiguration(EncryptionConfiguration encryptionConfiguration) Specifies the encryption configuration for your IAM Identity Center instance.instanceArn(String instanceArn) The ARN of the instance of IAM Identity Center under which the operation will run.Updates the instance name.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.permissionSetsEnabled(Boolean permissionSetsEnabled) Enables permission sets for this Identity Center instance.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.services.ssoadmin.model.SsoAdminRequest.Builder
build
-
Method Details
-
name
Updates the instance name.
- Parameters:
name- Updates the instance name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceArn
The ARN of the instance of IAM Identity Center under which the operation will run. For more information about ARNs, see Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces in the Amazon Web Services General Reference.
- Parameters:
instanceArn- The ARN of the instance of IAM Identity Center under which the operation will run. For more information about ARNs, see Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces in the Amazon Web Services General Reference.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
encryptionConfiguration
UpdateInstanceRequest.Builder encryptionConfiguration(EncryptionConfiguration encryptionConfiguration) Specifies the encryption configuration for your IAM Identity Center instance. You can use this to configure customer managed KMS keys or Amazon Web Services owned KMS keys for encrypting your instance data.
- Parameters:
encryptionConfiguration- Specifies the encryption configuration for your IAM Identity Center instance. You can use this to configure customer managed KMS keys or Amazon Web Services owned KMS keys for encrypting your instance data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
encryptionConfiguration
default UpdateInstanceRequest.Builder encryptionConfiguration(Consumer<EncryptionConfiguration.Builder> encryptionConfiguration) Specifies the encryption configuration for your IAM Identity Center instance. You can use this to configure customer managed KMS keys or Amazon Web Services owned KMS keys for encrypting your instance data.
This is a convenience method that creates an instance of theEncryptionConfiguration.Builderavoiding the need to create one manually viaEncryptionConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toencryptionConfiguration(EncryptionConfiguration).- Parameters:
encryptionConfiguration- a consumer that will call methods onEncryptionConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
permissionSetsEnabled
Enables permission sets for this Identity Center instance. The only accepted value is
true. After permission sets are enabled, they cannot be disabled.You can't set
EncryptionConfigurationandPermissionSetsEnabledin the same request. To configure both, make two separateUpdateInstancecalls. These calls can be made in parallel.- Parameters:
permissionSetsEnabled- Enables permission sets for this Identity Center instance. The only accepted value istrue. After permission sets are enabled, they cannot be disabled.You can't set
EncryptionConfigurationandPermissionSetsEnabledin the same request. To configure both, make two separateUpdateInstancecalls. These calls can be made in parallel.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
UpdateInstanceRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateInstanceRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-