Interface PolicyPreviewJobParameters.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<PolicyPreviewJobParameters.Builder,,PolicyPreviewJobParameters> SdkBuilder<PolicyPreviewJobParameters.Builder,,PolicyPreviewJobParameters> SdkPojo
- Enclosing class:
PolicyPreviewJobParameters
@Mutable
@NotThreadSafe
public static interface PolicyPreviewJobParameters.Builder
extends SdkPojo, CopyableBuilder<PolicyPreviewJobParameters.Builder,PolicyPreviewJobParameters>
-
Method Summary
Modifier and TypeMethodDescriptionThe end of the CloudTrail event analysis window.policyConfigurations(Collection<PolicyConfiguration> policyConfigurations) The list of policy configurations that were analyzed.policyConfigurations(Consumer<PolicyConfiguration.Builder>... policyConfigurations) The list of policy configurations that were analyzed.policyConfigurations(PolicyConfiguration... policyConfigurations) The list of policy configurations that were analyzed.The start of the CloudTrail event analysis window.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
-
startTime
The start of the CloudTrail event analysis window.
- Parameters:
startTime- The start of the CloudTrail event analysis window.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endTime
The end of the CloudTrail event analysis window.
- Parameters:
endTime- The end of the CloudTrail event analysis window.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
policyConfigurations
PolicyPreviewJobParameters.Builder policyConfigurations(Collection<PolicyConfiguration> policyConfigurations) The list of policy configurations that were analyzed.
- Parameters:
policyConfigurations- The list of policy configurations that were analyzed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
policyConfigurations
PolicyPreviewJobParameters.Builder policyConfigurations(PolicyConfiguration... policyConfigurations) The list of policy configurations that were analyzed.
- Parameters:
policyConfigurations- The list of policy configurations that were analyzed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
policyConfigurations
PolicyPreviewJobParameters.Builder policyConfigurations(Consumer<PolicyConfiguration.Builder>... policyConfigurations) The list of policy configurations that were analyzed.
This is a convenience method that creates an instance of thePolicyConfiguration.Builderavoiding the need to create one manually viaPolicyConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed topolicyConfigurations(List<PolicyConfiguration>).- Parameters:
policyConfigurations- a consumer that will call methods onPolicyConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-