Interface AccessPolicySummary.Builder

All Superinterfaces:
Buildable, CopyableBuilder<AccessPolicySummary.Builder,AccessPolicySummary>, SdkBuilder<AccessPolicySummary.Builder,AccessPolicySummary>, SdkPojo
Enclosing class:
AccessPolicySummary

public static interface AccessPolicySummary.Builder extends SdkPojo, CopyableBuilder<AccessPolicySummary.Builder,AccessPolicySummary>
  • 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 the Identity.Builder avoiding the need to create one manually via Identity.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to identity(Identity).

      Parameters:
      identity - a consumer that will call methods on Identity.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 the Resource.Builder avoiding the need to create one manually via Resource.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to resource(Resource).

      Parameters:
      resource - a consumer that will call methods on Resource.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • permission

      AccessPolicySummary.Builder permission(String permission)

      The permissions for the access policy. Note that a project ADMINISTRATOR is also known as a project owner.

      Parameters:
      permission - The permissions for the access policy. Note that a project ADMINISTRATOR is also known as a project owner.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • permission

      AccessPolicySummary.Builder permission(Permission permission)

      The permissions for the access policy. Note that a project ADMINISTRATOR is also known as a project owner.

      Parameters:
      permission - The permissions for the access policy. Note that a project ADMINISTRATOR is also known as a project owner.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • creationDate

      AccessPolicySummary.Builder creationDate(Instant 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

      AccessPolicySummary.Builder lastUpdateDate(Instant 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.