Interface ListPoliciesGrantingServiceAccessEntry.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ListPoliciesGrantingServiceAccessEntry.Builder,ListPoliciesGrantingServiceAccessEntry>,SdkBuilder<ListPoliciesGrantingServiceAccessEntry.Builder,ListPoliciesGrantingServiceAccessEntry>,SdkPojo
- Enclosing class:
- ListPoliciesGrantingServiceAccessEntry
public static interface ListPoliciesGrantingServiceAccessEntry.Builder extends SdkPojo, CopyableBuilder<ListPoliciesGrantingServiceAccessEntry.Builder,ListPoliciesGrantingServiceAccessEntry>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListPoliciesGrantingServiceAccessEntry.Builderpolicies(Collection<PolicyGrantingServiceAccess> policies)ThePoliciesGrantingServiceAccessobject that contains details about the policy.ListPoliciesGrantingServiceAccessEntry.Builderpolicies(Consumer<PolicyGrantingServiceAccess.Builder>... policies)ThePoliciesGrantingServiceAccessobject that contains details about the policy.ListPoliciesGrantingServiceAccessEntry.Builderpolicies(PolicyGrantingServiceAccess... policies)ThePoliciesGrantingServiceAccessobject that contains details about the policy.ListPoliciesGrantingServiceAccessEntry.BuilderserviceNamespace(String serviceNamespace)The namespace of the service that was accessed.-
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
-
-
-
-
Method Detail
-
serviceNamespace
ListPoliciesGrantingServiceAccessEntry.Builder serviceNamespace(String serviceNamespace)
The namespace of the service that was accessed.
To learn the service namespace of a service, see Actions, resources, and condition keys for Amazon Web Services services in the Service Authorization Reference. Choose the name of the service to view details for that service. In the first paragraph, find the service prefix. For example,
(service prefix: a4b). For more information about service namespaces, see Amazon Web Services service namespaces in the Amazon Web Services General Reference.- Parameters:
serviceNamespace- The namespace of the service that was accessed.To learn the service namespace of a service, see Actions, resources, and condition keys for Amazon Web Services services in the Service Authorization Reference. Choose the name of the service to view details for that service. In the first paragraph, find the service prefix. For example,
(service prefix: a4b). For more information about service namespaces, see Amazon Web Services service namespaces in the Amazon Web Services General Reference.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
policies
ListPoliciesGrantingServiceAccessEntry.Builder policies(Collection<PolicyGrantingServiceAccess> policies)
The
PoliciesGrantingServiceAccessobject that contains details about the policy.- Parameters:
policies- ThePoliciesGrantingServiceAccessobject that contains details about the policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
policies
ListPoliciesGrantingServiceAccessEntry.Builder policies(PolicyGrantingServiceAccess... policies)
The
PoliciesGrantingServiceAccessobject that contains details about the policy.- Parameters:
policies- ThePoliciesGrantingServiceAccessobject that contains details about the policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
policies
ListPoliciesGrantingServiceAccessEntry.Builder policies(Consumer<PolicyGrantingServiceAccess.Builder>... policies)
The
This is a convenience method that creates an instance of thePoliciesGrantingServiceAccessobject that contains details about the policy.PolicyGrantingServiceAccess.Builderavoiding the need to create one manually viaPolicyGrantingServiceAccess.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#policies(List.) - Parameters:
policies- a consumer that will call methods onPolicyGrantingServiceAccess.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#policies(java.util.Collection)
-
-