Interface CreateDesignationResponse.Builder

  • Method Details

    • domainId

      The identifier of the Amazon DataZone domain in which the designation was created.

      Parameters:
      domainId - The identifier of the Amazon DataZone domain in which the designation was created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • id

      The unique ID of the designation.

      Parameters:
      id - The unique ID of the designation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • name

      The name of the designation. The name is unique within the domain.

      Parameters:
      name - The name of the designation. The name is unique within the domain.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • description

      CreateDesignationResponse.Builder description(String description)

      A human-readable description of the designation and its intended use.

      Parameters:
      description - A human-readable description of the designation and its intended use.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • designationType

      CreateDesignationResponse.Builder designationType(String designationType)

      The classification of this designation. MANAGED designations are system-defined and cannot be modified or deleted.

      Parameters:
      designationType - The classification of this designation. MANAGED designations are system-defined and cannot be modified or deleted.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • designationType

      CreateDesignationResponse.Builder designationType(DesignationType designationType)

      The classification of this designation. MANAGED designations are system-defined and cannot be modified or deleted.

      Parameters:
      designationType - The classification of this designation. MANAGED designations are system-defined and cannot be modified or deleted.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • policy

      The Cedar permit policy that governs what actions holders of this designation are allowed to perform.

      Parameters:
      policy - The Cedar permit policy that governs what actions holders of this designation are allowed to perform.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • deletionProtection

      CreateDesignationResponse.Builder deletionProtection(Boolean deletionProtection)

      Whether deletion protection is enabled for this designation. When true, DeleteDesignation is rejected until protection is disabled via UpdateDesignation.

      Parameters:
      deletionProtection - Whether deletion protection is enabled for this designation. When true, DeleteDesignation is rejected until protection is disabled via UpdateDesignation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • createdBy

      The identifier of the Amazon DataZone user who created the designation.

      Parameters:
      createdBy - The identifier of the Amazon DataZone user who created the designation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • createdAt

      The date and time when the designation was created.

      Parameters:
      createdAt - The date and time when the designation was created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • lastUpdatedAt

      CreateDesignationResponse.Builder lastUpdatedAt(Instant lastUpdatedAt)

      The date and time when the designation was last updated.

      Parameters:
      lastUpdatedAt - The date and time when the designation was last updated.
      Returns:
      Returns a reference to this object so that method calls can be chained together.