Interface GetSecurityControlDefinitionResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetSecurityControlDefinitionResponse.Builder,,GetSecurityControlDefinitionResponse> SdkBuilder<GetSecurityControlDefinitionResponse.Builder,,GetSecurityControlDefinitionResponse> SdkPojo,SdkResponse.Builder,SecurityHubResponse.Builder
- Enclosing class:
GetSecurityControlDefinitionResponse
public static interface GetSecurityControlDefinitionResponse.Builder
extends SecurityHubResponse.Builder, SdkPojo, CopyableBuilder<GetSecurityControlDefinitionResponse.Builder,GetSecurityControlDefinitionResponse>
-
Method Summary
Modifier and TypeMethodDescriptionsecurityControlDefinition(Consumer<SecurityControlDefinition.Builder> securityControlDefinition) Sets the value of the SecurityControlDefinition property for this object.securityControlDefinition(SecurityControlDefinition securityControlDefinition) Sets the value of the SecurityControlDefinition property for this object.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, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponseMethods inherited from interface software.amazon.awssdk.services.securityhub.model.SecurityHubResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
securityControlDefinition
GetSecurityControlDefinitionResponse.Builder securityControlDefinition(SecurityControlDefinition securityControlDefinition) Sets the value of the SecurityControlDefinition property for this object.- Parameters:
securityControlDefinition- The new value for the SecurityControlDefinition property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
securityControlDefinition
default GetSecurityControlDefinitionResponse.Builder securityControlDefinition(Consumer<SecurityControlDefinition.Builder> securityControlDefinition) Sets the value of the SecurityControlDefinition property for this object. This is a convenience method that creates an instance of theSecurityControlDefinition.Builderavoiding the need to create one manually viaSecurityControlDefinition.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosecurityControlDefinition(SecurityControlDefinition).- Parameters:
securityControlDefinition- a consumer that will call methods onSecurityControlDefinition.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-