Interface ProjectPolicyGrantPrincipal.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ProjectPolicyGrantPrincipal.Builder,
,ProjectPolicyGrantPrincipal> SdkBuilder<ProjectPolicyGrantPrincipal.Builder,
,ProjectPolicyGrantPrincipal> SdkPojo
- Enclosing class:
ProjectPolicyGrantPrincipal
@Mutable
@NotThreadSafe
public static interface ProjectPolicyGrantPrincipal.Builder
extends SdkPojo, CopyableBuilder<ProjectPolicyGrantPrincipal.Builder,ProjectPolicyGrantPrincipal>
-
Method Summary
Modifier and TypeMethodDescriptionprojectDesignation
(String projectDesignation) The project designation of the project policy grant principal.projectDesignation
(ProjectDesignation projectDesignation) The project designation of the project policy grant principal.projectGrantFilter
(Consumer<ProjectGrantFilter.Builder> projectGrantFilter) The project grant filter of the project policy grant principal.projectGrantFilter
(ProjectGrantFilter projectGrantFilter) The project grant filter of the project policy grant principal.projectIdentifier
(String projectIdentifier) The project ID of the project policy grant principal.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
-
Method Details
-
projectDesignation
The project designation of the project policy grant principal.
- Parameters:
projectDesignation
- The project designation of the project policy grant principal.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
projectDesignation
The project designation of the project policy grant principal.
- Parameters:
projectDesignation
- The project designation of the project policy grant principal.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
projectGrantFilter
The project grant filter of the project policy grant principal.
- Parameters:
projectGrantFilter
- The project grant filter of the project policy grant principal.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
projectGrantFilter
default ProjectPolicyGrantPrincipal.Builder projectGrantFilter(Consumer<ProjectGrantFilter.Builder> projectGrantFilter) The project grant filter of the project policy grant principal.
This is a convenience method that creates an instance of theProjectGrantFilter.Builder
avoiding the need to create one manually viaProjectGrantFilter.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toprojectGrantFilter(ProjectGrantFilter)
.- Parameters:
projectGrantFilter
- a consumer that will call methods onProjectGrantFilter.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
projectIdentifier
The project ID of the project policy grant principal.
- Parameters:
projectIdentifier
- The project ID of the project policy grant principal.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-