Interface UpdateServiceRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateServiceRequest.Builder,,UpdateServiceRequest> Resiliencehubv2Request.Builder,SdkBuilder<UpdateServiceRequest.Builder,,UpdateServiceRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdateServiceRequest
-
Method Summary
Modifier and TypeMethodDescriptionassociatedSystems(Collection<AssociatedSystem> associatedSystems) The updated systems to associate with the service.associatedSystems(Consumer<AssociatedSystem.Builder>... associatedSystems) The updated systems to associate with the service.associatedSystems(AssociatedSystem... associatedSystems) The updated systems to associate with the service.dependencyDiscovery(String dependencyDiscovery) Sets the value of the DependencyDiscovery property for this object.dependencyDiscovery(DependencyDiscoveryInput dependencyDiscovery) Sets the value of the DependencyDiscovery property for this object.description(String description) Sets the value of the Description property for this object.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.default UpdateServiceRequest.BuilderpermissionModel(Consumer<PermissionModel.Builder> permissionModel) The updated permission model for the service.permissionModel(PermissionModel permissionModel) The updated permission model for the service.Sets the value of the PolicyArn property for this object.The updated AWS Regions where the service operates.regions(Collection<String> regions) The updated AWS Regions where the service operates.default UpdateServiceRequest.BuilderreportConfiguration(Consumer<ServiceReportConfiguration.Builder> reportConfiguration) Sets the value of the ReportConfiguration property for this object.reportConfiguration(ServiceReportConfiguration reportConfiguration) Sets the value of the ReportConfiguration property for this object.serviceArn(String serviceArn) Sets the value of the ServiceArn property for this object.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.services.resiliencehubv2.model.Resiliencehubv2Request.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
serviceArn
Sets the value of the ServiceArn property for this object.- Parameters:
serviceArn- The new value for the ServiceArn property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
Sets the value of the Description property for this object.- Parameters:
description- The new value for the Description property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
associatedSystems
The updated systems to associate with the service.
- Parameters:
associatedSystems- The updated systems to associate with the service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
associatedSystems
The updated systems to associate with the service.
- Parameters:
associatedSystems- The updated systems to associate with the service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
associatedSystems
UpdateServiceRequest.Builder associatedSystems(Consumer<AssociatedSystem.Builder>... associatedSystems) The updated systems to associate with the service.
This is a convenience method that creates an instance of theAssociatedSystem.Builderavoiding the need to create one manually viaAssociatedSystem.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toassociatedSystems(List<AssociatedSystem>).- Parameters:
associatedSystems- a consumer that will call methods onAssociatedSystem.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
policyArn
Sets the value of the PolicyArn property for this object.- Parameters:
policyArn- The new value for the PolicyArn property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
regions
The updated AWS Regions where the service operates.
- Parameters:
regions- The updated AWS Regions where the service operates.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
regions
The updated AWS Regions where the service operates.
- Parameters:
regions- The updated AWS Regions where the service operates.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
permissionModel
The updated permission model for the service.
- Parameters:
permissionModel- The updated permission model for the service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
permissionModel
default UpdateServiceRequest.Builder permissionModel(Consumer<PermissionModel.Builder> permissionModel) The updated permission model for the service.
This is a convenience method that creates an instance of thePermissionModel.Builderavoiding the need to create one manually viaPermissionModel.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed topermissionModel(PermissionModel).- Parameters:
permissionModel- a consumer that will call methods onPermissionModel.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
dependencyDiscovery
Sets the value of the DependencyDiscovery property for this object.- Parameters:
dependencyDiscovery- The new value for the DependencyDiscovery property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
dependencyDiscovery
Sets the value of the DependencyDiscovery property for this object.- Parameters:
dependencyDiscovery- The new value for the DependencyDiscovery property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
reportConfiguration
Sets the value of the ReportConfiguration property for this object.- Parameters:
reportConfiguration- The new value for the ReportConfiguration property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
reportConfiguration
default UpdateServiceRequest.Builder reportConfiguration(Consumer<ServiceReportConfiguration.Builder> reportConfiguration) Sets the value of the ReportConfiguration property for this object. This is a convenience method that creates an instance of theServiceReportConfiguration.Builderavoiding the need to create one manually viaServiceReportConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toreportConfiguration(ServiceReportConfiguration).- Parameters:
reportConfiguration- a consumer that will call methods onServiceReportConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
UpdateServiceRequest.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
UpdateServiceRequest.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.
-