Interface UpdateAgentProfileRequest.Builder

  • Method Details

    • clientToken

      UpdateAgentProfileRequest.Builder clientToken(String clientToken)

      A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

      Parameters:
      clientToken - A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • profileArn

      UpdateAgentProfileRequest.Builder profileArn(String profileArn)

      The Amazon Resource Name (ARN) of the profile to update.

      Parameters:
      profileArn - The Amazon Resource Name (ARN) of the profile to update.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • displayName

      UpdateAgentProfileRequest.Builder displayName(String displayName)

      The updated display name of the profile. Omit this field to keep the current display name. A display name is required, so it cannot be cleared.

      Parameters:
      displayName - The updated display name of the profile. Omit this field to keep the current display name. A display name is required, so it cannot be cleared.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • description

      UpdateAgentProfileRequest.Builder description(String description)

      The updated description of the profile. Omit this field to keep the current description, or supply an empty string to clear it; a cleared description is read back as absent rather than as an empty string.

      Parameters:
      description - The updated description of the profile. Omit this field to keep the current description, or supply an empty string to clear it; a cleared description is read back as absent rather than as an empty string.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • executionRoleArn

      UpdateAgentProfileRequest.Builder executionRoleArn(String executionRoleArn)

      The updated ARN of the IAM execution role. Omit this field to keep the current execution role.

      Parameters:
      executionRoleArn - The updated ARN of the IAM execution role. Omit this field to keep the current execution role.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • aggregationConfiguration

      UpdateAgentProfileRequest.Builder aggregationConfiguration(Collection<AggregationConfiguration> aggregationConfiguration)

      The updated aggregation configuration, as a list of per-account entries. Omit this field to keep the current entries, or supply an empty list to remove them all. The field remains set either way — an emptied configuration is read back as an empty list, not as an absent field.

      Parameters:
      aggregationConfiguration - The updated aggregation configuration, as a list of per-account entries. Omit this field to keep the current entries, or supply an empty list to remove them all. The field remains set either way — an emptied configuration is read back as an empty list, not as an absent field.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • aggregationConfiguration

      UpdateAgentProfileRequest.Builder aggregationConfiguration(AggregationConfiguration... aggregationConfiguration)

      The updated aggregation configuration, as a list of per-account entries. Omit this field to keep the current entries, or supply an empty list to remove them all. The field remains set either way — an emptied configuration is read back as an empty list, not as an absent field.

      Parameters:
      aggregationConfiguration - The updated aggregation configuration, as a list of per-account entries. Omit this field to keep the current entries, or supply an empty list to remove them all. The field remains set either way — an emptied configuration is read back as an empty list, not as an absent field.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • aggregationConfiguration

      UpdateAgentProfileRequest.Builder aggregationConfiguration(Consumer<AggregationConfiguration.Builder>... aggregationConfiguration)

      The updated aggregation configuration, as a list of per-account entries. Omit this field to keep the current entries, or supply an empty list to remove them all. The field remains set either way — an emptied configuration is read back as an empty list, not as an absent field.

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

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

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

      UpdateAgentProfileRequest.Builder businessOverview(String businessOverview)

      The updated business overview for the profile. Omit this field to keep the current business overview, or supply an empty string to clear it; a cleared business overview is read back as absent rather than as an empty string.

      Parameters:
      businessOverview - The updated business overview for the profile. Omit this field to keep the current business overview, or supply an empty string to clear it; a cleared business overview is read back as absent rather than as an empty string.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • pillarsWithStrings

      UpdateAgentProfileRequest.Builder pillarsWithStrings(Collection<String> pillars)

      The updated Amazon Web Services Well-Architected Framework pillars for the profile. Omit this field to keep the current pillars. A profile must target at least one pillar, so an empty list is rejected.

      Parameters:
      pillars - The updated Amazon Web Services Well-Architected Framework pillars for the profile. Omit this field to keep the current pillars. A profile must target at least one pillar, so an empty list is rejected.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • pillarsWithStrings

      UpdateAgentProfileRequest.Builder pillarsWithStrings(String... pillars)

      The updated Amazon Web Services Well-Architected Framework pillars for the profile. Omit this field to keep the current pillars. A profile must target at least one pillar, so an empty list is rejected.

      Parameters:
      pillars - The updated Amazon Web Services Well-Architected Framework pillars for the profile. Omit this field to keep the current pillars. A profile must target at least one pillar, so an empty list is rejected.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • pillars

      The updated Amazon Web Services Well-Architected Framework pillars for the profile. Omit this field to keep the current pillars. A profile must target at least one pillar, so an empty list is rejected.

      Parameters:
      pillars - The updated Amazon Web Services Well-Architected Framework pillars for the profile. Omit this field to keep the current pillars. A profile must target at least one pillar, so an empty list is rejected.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • pillars

      The updated Amazon Web Services Well-Architected Framework pillars for the profile. Omit this field to keep the current pillars. A profile must target at least one pillar, so an empty list is rejected.

      Parameters:
      pillars - The updated Amazon Web Services Well-Architected Framework pillars for the profile. Omit this field to keep the current pillars. A profile must target at least one pillar, so an empty list is rejected.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • deletionProtection

      UpdateAgentProfileRequest.Builder deletionProtection(Boolean deletionProtection)

      Indicates whether deletion protection is enabled for the profile.

      Parameters:
      deletionProtection - Indicates whether deletion protection is enabled for the profile.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

      UpdateAgentProfileRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration 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.