Interface UpdateAgentProfileRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateAgentProfileRequest.Builder,,UpdateAgentProfileRequest> SdkBuilder<UpdateAgentProfileRequest.Builder,,UpdateAgentProfileRequest> SdkPojo,SdkRequest.Builder,WellArchitectedRequest.Builder
- Enclosing class:
UpdateAgentProfileRequest
-
Method Summary
Modifier and TypeMethodDescriptionaggregationConfiguration(Collection<AggregationConfiguration> aggregationConfiguration) The updated aggregation configuration, as a list of per-account entries.aggregationConfiguration(Consumer<AggregationConfiguration.Builder>... aggregationConfiguration) The updated aggregation configuration, as a list of per-account entries.aggregationConfiguration(AggregationConfiguration... aggregationConfiguration) The updated aggregation configuration, as a list of per-account entries.businessOverview(String businessOverview) The updated business overview for the profile.clientToken(String clientToken) A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.deletionProtection(Boolean deletionProtection) Indicates whether deletion protection is enabled for the profile.description(String description) The updated description of the profile.displayName(String displayName) The updated display name of the profile.executionRoleArn(String executionRoleArn) The updated ARN of the IAM execution role.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.pillars(Collection<Pillar> pillars) The updated Amazon Web Services Well-Architected Framework pillars for the profile.The updated Amazon Web Services Well-Architected Framework pillars for the profile.pillarsWithStrings(String... pillars) The updated Amazon Web Services Well-Architected Framework pillars for the profile.pillarsWithStrings(Collection<String> pillars) The updated Amazon Web Services Well-Architected Framework pillars for the profile.profileArn(String profileArn) The Amazon Resource Name (ARN) of the profile to update.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.wellarchitected.model.WellArchitectedRequest.Builder
build
-
Method Details
-
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
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
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
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
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 theAggregationConfiguration.Builderavoiding the need to create one manually viaAggregationConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toaggregationConfiguration(List<AggregationConfiguration>).- Parameters:
aggregationConfiguration- a consumer that will call methods onAggregationConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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
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
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
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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateAgentProfileRequest.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.
-