Interface GetGeneratedPolicyResponse.Builder
-
- All Superinterfaces:
AccessAnalyzerResponse.Builder,AwsResponse.Builder,Buildable,CopyableBuilder<GetGeneratedPolicyResponse.Builder,GetGeneratedPolicyResponse>,SdkBuilder<GetGeneratedPolicyResponse.Builder,GetGeneratedPolicyResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetGeneratedPolicyResponse
public static interface GetGeneratedPolicyResponse.Builder extends AccessAnalyzerResponse.Builder, SdkPojo, CopyableBuilder<GetGeneratedPolicyResponse.Builder,GetGeneratedPolicyResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default GetGeneratedPolicyResponse.BuildergeneratedPolicyResult(Consumer<GeneratedPolicyResult.Builder> generatedPolicyResult)AGeneratedPolicyResultobject that contains the generated policies and associated details.GetGeneratedPolicyResponse.BuildergeneratedPolicyResult(GeneratedPolicyResult generatedPolicyResult)AGeneratedPolicyResultobject that contains the generated policies and associated details.default GetGeneratedPolicyResponse.BuilderjobDetails(Consumer<JobDetails.Builder> jobDetails)AGeneratedPolicyDetailsobject that contains details about the generated policy.GetGeneratedPolicyResponse.BuilderjobDetails(JobDetails jobDetails)AGeneratedPolicyDetailsobject that contains details about the generated policy.-
Methods inherited from interface software.amazon.awssdk.services.accessanalyzer.model.AccessAnalyzerResponse.Builder
build, responseMetadata, responseMetadata
-
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, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
jobDetails
GetGeneratedPolicyResponse.Builder jobDetails(JobDetails jobDetails)
A
GeneratedPolicyDetailsobject that contains details about the generated policy.- Parameters:
jobDetails- AGeneratedPolicyDetailsobject that contains details about the generated policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
jobDetails
default GetGeneratedPolicyResponse.Builder jobDetails(Consumer<JobDetails.Builder> jobDetails)
A
This is a convenience method that creates an instance of theGeneratedPolicyDetailsobject that contains details about the generated policy.JobDetails.Builderavoiding the need to create one manually viaJobDetails.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tojobDetails(JobDetails).- Parameters:
jobDetails- a consumer that will call methods onJobDetails.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
jobDetails(JobDetails)
-
generatedPolicyResult
GetGeneratedPolicyResponse.Builder generatedPolicyResult(GeneratedPolicyResult generatedPolicyResult)
A
GeneratedPolicyResultobject that contains the generated policies and associated details.- Parameters:
generatedPolicyResult- AGeneratedPolicyResultobject that contains the generated policies and associated details.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
generatedPolicyResult
default GetGeneratedPolicyResponse.Builder generatedPolicyResult(Consumer<GeneratedPolicyResult.Builder> generatedPolicyResult)
A
This is a convenience method that creates an instance of theGeneratedPolicyResultobject that contains the generated policies and associated details.GeneratedPolicyResult.Builderavoiding the need to create one manually viaGeneratedPolicyResult.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed togeneratedPolicyResult(GeneratedPolicyResult).- Parameters:
generatedPolicyResult- a consumer that will call methods onGeneratedPolicyResult.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
generatedPolicyResult(GeneratedPolicyResult)
-
-