Interface AccessPolicySummary.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<AccessPolicySummary.Builder,,AccessPolicySummary> SdkBuilder<AccessPolicySummary.Builder,,AccessPolicySummary> SdkPojo
- Enclosing class:
AccessPolicySummary
-
Method Summary
Modifier and TypeMethodDescriptioncreationDate(Instant creationDate) The date the access policy was created, in Unix epoch time.The ID of the access policy.default AccessPolicySummary.Builderidentity(Consumer<Identity.Builder> identity) The identity (an IAM Identity Center user, an IAM Identity Center group, or an IAM user).The identity (an IAM Identity Center user, an IAM Identity Center group, or an IAM user).lastUpdateDate(Instant lastUpdateDate) The date the access policy was last updated, in Unix epoch time.permission(String permission) The permissions for the access policy.permission(Permission permission) The permissions for the access policy.default AccessPolicySummary.Builderresource(Consumer<Resource.Builder> resource) The IoT SiteWise Monitor resource (a portal or project).The IoT SiteWise Monitor resource (a portal or project).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, sdkFieldNameToField, sdkFields
-
Method Details
-
id
The ID of the access policy.
- Parameters:
id- The ID of the access policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
identity
The identity (an IAM Identity Center user, an IAM Identity Center group, or an IAM user).
- Parameters:
identity- The identity (an IAM Identity Center user, an IAM Identity Center group, or an IAM user).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
identity
The identity (an IAM Identity Center user, an IAM Identity Center group, or an IAM user).
This is a convenience method that creates an instance of theIdentity.Builderavoiding the need to create one manually viaIdentity.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toidentity(Identity).- Parameters:
identity- a consumer that will call methods onIdentity.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
resource
The IoT SiteWise Monitor resource (a portal or project).
- Parameters:
resource- The IoT SiteWise Monitor resource (a portal or project).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resource
The IoT SiteWise Monitor resource (a portal or project).
This is a convenience method that creates an instance of theResource.Builderavoiding the need to create one manually viaResource.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toresource(Resource).- Parameters:
resource- a consumer that will call methods onResource.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
permission
The permissions for the access policy. Note that a project
ADMINISTRATORis also known as a project owner.- Parameters:
permission- The permissions for the access policy. Note that a projectADMINISTRATORis also known as a project owner.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
permission
The permissions for the access policy. Note that a project
ADMINISTRATORis also known as a project owner.- Parameters:
permission- The permissions for the access policy. Note that a projectADMINISTRATORis also known as a project owner.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
creationDate
The date the access policy was created, in Unix epoch time.
- Parameters:
creationDate- The date the access policy was created, in Unix epoch time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastUpdateDate
The date the access policy was last updated, in Unix epoch time.
- Parameters:
lastUpdateDate- The date the access policy was last updated, in Unix epoch time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-