Interface RegisterDefaultHostManagementConfigurationRequest.Builder

  • Method Details

    • permissionModel

      The permission model that determines how the IAM role for Default Host Management Configuration is provided.

      The permission model can be one of the following values:

      SERVICE_MANAGED

      Amazon Web Services Systems Manager creates and manages the role on your behalf.

      SELF_MANAGED

      You provide the role to register in RoleArn.

      Parameters:
      permissionModel - The permission model that determines how the IAM role for Default Host Management Configuration is provided.

      The permission model can be one of the following values:

      SERVICE_MANAGED

      Amazon Web Services Systems Manager creates and manages the role on your behalf.

      SELF_MANAGED

      You provide the role to register in RoleArn.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • permissionModel

      The permission model that determines how the IAM role for Default Host Management Configuration is provided.

      The permission model can be one of the following values:

      SERVICE_MANAGED

      Amazon Web Services Systems Manager creates and manages the role on your behalf.

      SELF_MANAGED

      You provide the role to register in RoleArn.

      Parameters:
      permissionModel - The permission model that determines how the IAM role for Default Host Management Configuration is provided.

      The permission model can be one of the following values:

      SERVICE_MANAGED

      Amazon Web Services Systems Manager creates and manages the role on your behalf.

      SELF_MANAGED

      You provide the role to register in RoleArn.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • roleArn

      The Amazon Resource Name (ARN) of the self-managed IAM role that you register for Default Host Management Configuration. The requirement for this value depends on the permission model:

      • If PermissionModel is SELF_MANAGED, this value is required.

      • If PermissionModel is SERVICE_MANAGED, this value must not be set.

      Parameters:
      roleArn - The Amazon Resource Name (ARN) of the self-managed IAM role that you register for Default Host Management Configuration. The requirement for this value depends on the permission model:

      • If PermissionModel is SELF_MANAGED, this value is required.

      • If PermissionModel is SERVICE_MANAGED, this value must not be set.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overwrite

      Specifies whether to override the role that is currently registered for Default Host Management Configuration. The default is false, which acts as a guardrail against accidentally replacing an existing configuration. Set this to true to replace the currently registered role.

      Parameters:
      overwrite - Specifies whether to override the role that is currently registered for Default Host Management Configuration. The default is false, which acts as a guardrail against accidentally replacing an existing configuration. Set this to true to replace the currently registered role.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.