Interface DeletionTaskFailureReasonType.Builder

All Superinterfaces:
Buildable, CopyableBuilder<DeletionTaskFailureReasonType.Builder,DeletionTaskFailureReasonType>, SdkBuilder<DeletionTaskFailureReasonType.Builder,DeletionTaskFailureReasonType>, SdkPojo
Enclosing class:
DeletionTaskFailureReasonType

public static interface DeletionTaskFailureReasonType.Builder extends SdkPojo, CopyableBuilder<DeletionTaskFailureReasonType.Builder,DeletionTaskFailureReasonType>
  • Method Details

    • reason

      A short description of the reason that the service-linked role deletion failed.

      Parameters:
      reason - A short description of the reason that the service-linked role deletion failed.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • roleUsageList

      A list of objects that contains details about the service-linked role deletion failure, if that information is returned by the service. If the service-linked role has active sessions or if any resources that were used by the role have not been deleted from the linked service, the role can't be deleted. This parameter includes a list of the resources that are associated with the role and the Region in which the resources are being used.

      Parameters:
      roleUsageList - A list of objects that contains details about the service-linked role deletion failure, if that information is returned by the service. If the service-linked role has active sessions or if any resources that were used by the role have not been deleted from the linked service, the role can't be deleted. This parameter includes a list of the resources that are associated with the role and the Region in which the resources are being used.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • roleUsageList

      DeletionTaskFailureReasonType.Builder roleUsageList(RoleUsageType... roleUsageList)

      A list of objects that contains details about the service-linked role deletion failure, if that information is returned by the service. If the service-linked role has active sessions or if any resources that were used by the role have not been deleted from the linked service, the role can't be deleted. This parameter includes a list of the resources that are associated with the role and the Region in which the resources are being used.

      Parameters:
      roleUsageList - A list of objects that contains details about the service-linked role deletion failure, if that information is returned by the service. If the service-linked role has active sessions or if any resources that were used by the role have not been deleted from the linked service, the role can't be deleted. This parameter includes a list of the resources that are associated with the role and the Region in which the resources are being used.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • roleUsageList

      A list of objects that contains details about the service-linked role deletion failure, if that information is returned by the service. If the service-linked role has active sessions or if any resources that were used by the role have not been deleted from the linked service, the role can't be deleted. This parameter includes a list of the resources that are associated with the role and the Region in which the resources are being used.

      This is a convenience method that creates an instance of the RoleUsageType.Builder avoiding the need to create one manually via RoleUsageType.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to roleUsageList(List<RoleUsageType>).

      Parameters:
      roleUsageList - a consumer that will call methods on RoleUsageType.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: