Interface ListPoliciesGrantingServiceAccessEntry.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ListPoliciesGrantingServiceAccessEntry.Builder,,ListPoliciesGrantingServiceAccessEntry> SdkBuilder<ListPoliciesGrantingServiceAccessEntry.Builder,,ListPoliciesGrantingServiceAccessEntry> SdkPojo
- Enclosing class:
ListPoliciesGrantingServiceAccessEntry
-
Method Summary
Modifier and TypeMethodDescriptionpolicies(Collection<PolicyGrantingServiceAccess> policies) ThePoliciesGrantingServiceAccessobject that contains details about the policy.policies(Consumer<PolicyGrantingServiceAccess.Builder>... policies) ThePoliciesGrantingServiceAccessobject that contains details about the policy.policies(PolicyGrantingServiceAccess... policies) ThePoliciesGrantingServiceAccessobject that contains details about the policy.serviceNamespace(String serviceNamespace) The namespace of the service that was accessed.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, sdkFields
-
Method Details
-
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
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 topolicies(List<PolicyGrantingServiceAccess>).- 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:
-