Interface GetApplicationPolicyResponse.Builder
- All Superinterfaces:
- AwsResponse.Builder,- Buildable,- CopyableBuilder<GetApplicationPolicyResponse.Builder,,- GetApplicationPolicyResponse> - SdkBuilder<GetApplicationPolicyResponse.Builder,,- GetApplicationPolicyResponse> - SdkPojo,- SdkResponse.Builder,- ServerlessApplicationRepositoryResponse.Builder
- Enclosing class:
- GetApplicationPolicyResponse
@Mutable
@NotThreadSafe
public static interface GetApplicationPolicyResponse.Builder
extends ServerlessApplicationRepositoryResponse.Builder, SdkPojo, CopyableBuilder<GetApplicationPolicyResponse.Builder,GetApplicationPolicyResponse> 
- 
Method SummaryModifier and TypeMethodDescriptionstatements(Collection<ApplicationPolicyStatement> statements) An array of policy statements applied to the application.statements(Consumer<ApplicationPolicyStatement.Builder>... statements) An array of policy statements applied to the application.statements(ApplicationPolicyStatement... statements) An array of policy statements applied to the application.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.BuildersdkHttpResponse, sdkHttpResponseMethods inherited from interface software.amazon.awssdk.services.serverlessapplicationrepository.model.ServerlessApplicationRepositoryResponse.Builderbuild, responseMetadata, responseMetadata
- 
Method Details- 
statementsAn array of policy statements applied to the application. - Parameters:
- statements- An array of policy statements applied to the application.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
statementsAn array of policy statements applied to the application. - Parameters:
- statements- An array of policy statements applied to the application.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
statementsGetApplicationPolicyResponse.Builder statements(Consumer<ApplicationPolicyStatement.Builder>... statements) An array of policy statements applied to the application. This is a convenience method that creates an instance of theApplicationPolicyStatement.Builderavoiding the need to create one manually viaApplicationPolicyStatement.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tostatements(List<ApplicationPolicyStatement>).- Parameters:
- statements- a consumer that will call methods on- ApplicationPolicyStatement.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
 
-