Interface GetCustomDetectionRuleOrgConfigurationResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetCustomDetectionRuleOrgConfigurationResponse.Builder,,GetCustomDetectionRuleOrgConfigurationResponse> GuardDutyResponse.Builder,SdkBuilder<GetCustomDetectionRuleOrgConfigurationResponse.Builder,,GetCustomDetectionRuleOrgConfigurationResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetCustomDetectionRuleOrgConfigurationResponse
@Mutable
@NotThreadSafe
public static interface GetCustomDetectionRuleOrgConfigurationResponse.Builder
extends GuardDutyResponse.Builder, SdkPojo, CopyableBuilder<GetCustomDetectionRuleOrgConfigurationResponse.Builder,GetCustomDetectionRuleOrgConfigurationResponse>
-
Method Summary
Modifier and TypeMethodDescriptionconfiguration(Consumer<DetectionRuleOrgConfiguration.Builder> configuration) The details of the organization configuration.configuration(DetectionRuleOrgConfiguration configuration) The details of the organization configuration.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.guardduty.model.GuardDutyResponse.Builder
build, responseMetadata, responseMetadataMethods 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.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
configuration
GetCustomDetectionRuleOrgConfigurationResponse.Builder configuration(DetectionRuleOrgConfiguration configuration) The details of the organization configuration.
- Parameters:
configuration- The details of the organization configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configuration
default GetCustomDetectionRuleOrgConfigurationResponse.Builder configuration(Consumer<DetectionRuleOrgConfiguration.Builder> configuration) The details of the organization configuration.
This is a convenience method that creates an instance of theDetectionRuleOrgConfiguration.Builderavoiding the need to create one manually viaDetectionRuleOrgConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toconfiguration(DetectionRuleOrgConfiguration).- Parameters:
configuration- a consumer that will call methods onDetectionRuleOrgConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-