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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default GetSecurityControlDefinitionResponse.BuildersecurityControlDefinition(Consumer<SecurityControlDefinition.Builder> securityControlDefinition)Sets the value of the SecurityControlDefinition property for this object.GetSecurityControlDefinitionResponse.BuildersecurityControlDefinition(SecurityControlDefinition securityControlDefinition)Sets the value of the SecurityControlDefinition property for this object.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Methods inherited from interface software.amazon.awssdk.services.securityhub.model.SecurityHubResponse.Builder
build, responseMetadata, responseMetadata
-
-
-
-
Method Detail
-
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:
securityControlDefinition(SecurityControlDefinition)
-
-