Interface Service.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<Service.Builder,,Service> SdkBuilder<Service.Builder,,Service> SdkPojo
- Enclosing class:
Service
-
Method Summary
Modifier and TypeMethodDescriptionThe AWS account ID that owns the service.default Service.Builderachievability(Consumer<Achievability.Builder> achievability) The achievability status of the service's resilience targets.achievability(Achievability achievability) The achievability status of the service's resilience targets.assessmentStatus(String assessmentStatus) The current assessment status of the service.assessmentStatus(AssessmentStatus assessmentStatus) The current assessment status of the service.associatedSystems(Collection<AssociatedSystem> associatedSystems) The systems associated with the service.associatedSystems(Consumer<AssociatedSystem.Builder>... associatedSystems) The systems associated with the service.associatedSystems(AssociatedSystem... associatedSystems) The systems associated with the service.The timestamp when the service was created.default Service.BuilderdependencyDiscovery(Consumer<DependencyDiscoveryConfig.Builder> dependencyDiscovery) The dependency discovery configuration for the service.dependencyDiscovery(DependencyDiscoveryConfig dependencyDiscovery) The dependency discovery configuration for the service.description(String description) Sets the value of the Description property for this object.default Service.BuildereffectivePolicyValues(Consumer<EffectivePolicyValues.Builder> effectivePolicyValues) The effective policy values for the service.effectivePolicyValues(EffectivePolicyValues effectivePolicyValues) The effective policy values for the service.default Service.BuilderestimatedAssessmentCost(Consumer<AssessmentCost.Builder> estimatedAssessmentCost) The estimated cost of running an assessment on the service.estimatedAssessmentCost(AssessmentCost estimatedAssessmentCost) The estimated cost of running an assessment on the service.Sets the value of the KmsKeyId property for this object.Sets the value of the Name property for this object.openFindingsCount(Integer openFindingsCount) The number of open findings for the service.organizationId(String organizationId) The AWS Organizations identifier for the service.The organizational unit (OU) identifier for the service.default Service.BuilderpermissionModel(Consumer<PermissionModel.Builder> permissionModel) The permission model for the service.permissionModel(PermissionModel permissionModel) The permission model for the service.Sets the value of the PolicyArn property for this object.The AWS Regions where the service operates.regions(Collection<String> regions) The AWS Regions where the service operates.default Service.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.rerunAssessment(Boolean rerunAssessment) Indicates whether the assessment should be rerun.resolvedFindingsCount(Integer resolvedFindingsCount) The number of resolved findings for the service.default Service.BuilderresourceDiscovery(Consumer<ResourceDiscoveryStatus.Builder> resourceDiscovery) The resource discovery status for the service.resourceDiscovery(ResourceDiscoveryStatus resourceDiscovery) The resource discovery status for the service.serviceArn(String serviceArn) Sets the value of the ServiceArn property for this object.Sets the value of the Tags property for this object.The timestamp when the service was last updated.Methods 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, 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.
-
name
Sets the value of the Name property for this object.- Parameters:
name- The new value for the Name 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 systems associated with the service.
- Parameters:
associatedSystems- The systems associated with the service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
associatedSystems
The systems associated with the service.
- Parameters:
associatedSystems- The systems associated with the service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
associatedSystems
The systems associated 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 AWS Regions where the service operates.
- Parameters:
regions- The AWS Regions where the service operates.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
regions
The AWS Regions where the service operates.
- Parameters:
regions- The AWS Regions where the service operates.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
permissionModel
The permission model for the service.
- Parameters:
permissionModel- The permission model for the service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
permissionModel
The 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
The dependency discovery configuration for the service.
- Parameters:
dependencyDiscovery- The dependency discovery configuration for the service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dependencyDiscovery
default Service.Builder dependencyDiscovery(Consumer<DependencyDiscoveryConfig.Builder> dependencyDiscovery) The dependency discovery configuration for the service.
This is a convenience method that creates an instance of theDependencyDiscoveryConfig.Builderavoiding the need to create one manually viaDependencyDiscoveryConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todependencyDiscovery(DependencyDiscoveryConfig).- Parameters:
dependencyDiscovery- a consumer that will call methods onDependencyDiscoveryConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
effectivePolicyValues
The effective policy values for the service.
- Parameters:
effectivePolicyValues- The effective policy values for the service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
effectivePolicyValues
default Service.Builder effectivePolicyValues(Consumer<EffectivePolicyValues.Builder> effectivePolicyValues) The effective policy values for the service.
This is a convenience method that creates an instance of theEffectivePolicyValues.Builderavoiding the need to create one manually viaEffectivePolicyValues.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toeffectivePolicyValues(EffectivePolicyValues).- Parameters:
effectivePolicyValues- a consumer that will call methods onEffectivePolicyValues.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
achievability
The achievability status of the service's resilience targets.
- Parameters:
achievability- The achievability status of the service's resilience targets.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
achievability
The achievability status of the service's resilience targets.
This is a convenience method that creates an instance of theAchievability.Builderavoiding the need to create one manually viaAchievability.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toachievability(Achievability).- Parameters:
achievability- a consumer that will call methods onAchievability.Builder- 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 Service.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:
-
kmsKeyId
Sets the value of the KmsKeyId property for this object.- Parameters:
kmsKeyId- The new value for the KmsKeyId property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Sets the value of the Tags property for this object.- Parameters:
tags- The new value for the Tags property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
estimatedAssessmentCost
The estimated cost of running an assessment on the service.
- Parameters:
estimatedAssessmentCost- The estimated cost of running an assessment on the service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
estimatedAssessmentCost
default Service.Builder estimatedAssessmentCost(Consumer<AssessmentCost.Builder> estimatedAssessmentCost) The estimated cost of running an assessment on the service.
This is a convenience method that creates an instance of theAssessmentCost.Builderavoiding the need to create one manually viaAssessmentCost.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toestimatedAssessmentCost(AssessmentCost).- Parameters:
estimatedAssessmentCost- a consumer that will call methods onAssessmentCost.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
resourceDiscovery
The resource discovery status for the service.
- Parameters:
resourceDiscovery- The resource discovery status for the service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceDiscovery
default Service.Builder resourceDiscovery(Consumer<ResourceDiscoveryStatus.Builder> resourceDiscovery) The resource discovery status for the service.
This is a convenience method that creates an instance of theResourceDiscoveryStatus.Builderavoiding the need to create one manually viaResourceDiscoveryStatus.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toresourceDiscovery(ResourceDiscoveryStatus).- Parameters:
resourceDiscovery- a consumer that will call methods onResourceDiscoveryStatus.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
assessmentStatus
The current assessment status of the service.
- Parameters:
assessmentStatus- The current assessment status of the service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
assessmentStatus
The current assessment status of the service.
- Parameters:
assessmentStatus- The current assessment status of the service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
rerunAssessment
Indicates whether the assessment should be rerun.
- Parameters:
rerunAssessment- Indicates whether the assessment should be rerun.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
openFindingsCount
The number of open findings for the service.
- Parameters:
openFindingsCount- The number of open findings for the service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resolvedFindingsCount
The number of resolved findings for the service.
- Parameters:
resolvedFindingsCount- The number of resolved findings for the service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
organizationId
The AWS Organizations identifier for the service.
- Parameters:
organizationId- The AWS Organizations identifier for the service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ouId
The organizational unit (OU) identifier for the service.
- Parameters:
ouId- The organizational unit (OU) identifier for the service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accountId
The AWS account ID that owns the service.
- Parameters:
accountId- The AWS account ID that owns the service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdAt
The timestamp when the service was created.
- Parameters:
createdAt- The timestamp when the service was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updatedAt
The timestamp when the service was last updated.
- Parameters:
updatedAt- The timestamp when the service was last updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-