Interface CreateConfigurationPolicyResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<CreateConfigurationPolicyResponse.Builder,CreateConfigurationPolicyResponse>,SdkBuilder<CreateConfigurationPolicyResponse.Builder,CreateConfigurationPolicyResponse>,SdkPojo,SdkResponse.Builder,SecurityHubResponse.Builder
- Enclosing class:
- CreateConfigurationPolicyResponse
public static interface CreateConfigurationPolicyResponse.Builder extends SecurityHubResponse.Builder, SdkPojo, CopyableBuilder<CreateConfigurationPolicyResponse.Builder,CreateConfigurationPolicyResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description CreateConfigurationPolicyResponse.Builderarn(String arn)The Amazon Resource Name (ARN) of the configuration policy.default CreateConfigurationPolicyResponse.BuilderconfigurationPolicy(Consumer<Policy.Builder> configurationPolicy)An object that defines how Security Hub is configured.CreateConfigurationPolicyResponse.BuilderconfigurationPolicy(Policy configurationPolicy)An object that defines how Security Hub is configured.CreateConfigurationPolicyResponse.BuildercreatedAt(Instant createdAt)The date and time, in UTC and ISO 8601 format, that the configuration policy was created.CreateConfigurationPolicyResponse.Builderdescription(String description)The description of the configuration policy.CreateConfigurationPolicyResponse.Builderid(String id)The universally unique identifier (UUID) of the configuration policy.CreateConfigurationPolicyResponse.Buildername(String name)The name of the configuration policy.CreateConfigurationPolicyResponse.BuilderupdatedAt(Instant updatedAt)The date and time, in UTC and ISO 8601 format, that the configuration policy was last updated.-
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
-
arn
CreateConfigurationPolicyResponse.Builder arn(String arn)
The Amazon Resource Name (ARN) of the configuration policy.
- Parameters:
arn- The Amazon Resource Name (ARN) of the configuration policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
id
CreateConfigurationPolicyResponse.Builder id(String id)
The universally unique identifier (UUID) of the configuration policy.
- Parameters:
id- The universally unique identifier (UUID) of the configuration policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
CreateConfigurationPolicyResponse.Builder name(String name)
The name of the configuration policy.
- Parameters:
name- The name of the configuration policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
CreateConfigurationPolicyResponse.Builder description(String description)
The description of the configuration policy.
- Parameters:
description- The description of the configuration policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updatedAt
CreateConfigurationPolicyResponse.Builder updatedAt(Instant updatedAt)
The date and time, in UTC and ISO 8601 format, that the configuration policy was last updated.
- Parameters:
updatedAt- The date and time, in UTC and ISO 8601 format, that the configuration policy was last updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdAt
CreateConfigurationPolicyResponse.Builder createdAt(Instant createdAt)
The date and time, in UTC and ISO 8601 format, that the configuration policy was created.
- Parameters:
createdAt- The date and time, in UTC and ISO 8601 format, that the configuration policy was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configurationPolicy
CreateConfigurationPolicyResponse.Builder configurationPolicy(Policy configurationPolicy)
An object that defines how Security Hub is configured. It includes whether Security Hub is enabled or disabled, a list of enabled security standards, a list of enabled or disabled security controls, and a list of custom parameter values for specified controls. If the request included a list of security controls that are enabled in the configuration policy, Security Hub disables all other controls (including newly released controls). If the request included a list of security controls that are disabled in the configuration policy, Security Hub enables all other controls (including newly released controls).
- Parameters:
configurationPolicy- An object that defines how Security Hub is configured. It includes whether Security Hub is enabled or disabled, a list of enabled security standards, a list of enabled or disabled security controls, and a list of custom parameter values for specified controls. If the request included a list of security controls that are enabled in the configuration policy, Security Hub disables all other controls (including newly released controls). If the request included a list of security controls that are disabled in the configuration policy, Security Hub enables all other controls (including newly released controls).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configurationPolicy
default CreateConfigurationPolicyResponse.Builder configurationPolicy(Consumer<Policy.Builder> configurationPolicy)
An object that defines how Security Hub is configured. It includes whether Security Hub is enabled or disabled, a list of enabled security standards, a list of enabled or disabled security controls, and a list of custom parameter values for specified controls. If the request included a list of security controls that are enabled in the configuration policy, Security Hub disables all other controls (including newly released controls). If the request included a list of security controls that are disabled in the configuration policy, Security Hub enables all other controls (including newly released controls).
This is a convenience method that creates an instance of thePolicy.Builderavoiding the need to create one manually viaPolicy.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toconfigurationPolicy(Policy).- Parameters:
configurationPolicy- a consumer that will call methods onPolicy.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
configurationPolicy(Policy)
-
-