Interface SecurityGroup.Builder

  • Method Details

    • activeMembers

      SecurityGroup.Builder activeMembers(Integer activeMembers)

      The number of active user members currently in the security group.

      Parameters:
      activeMembers - The number of active user members currently in the security group.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • botMembers

      SecurityGroup.Builder botMembers(Integer botMembers)

      The number of bot members currently in the security group.

      Parameters:
      botMembers - The number of bot members currently in the security group.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • activeDirectoryGuid

      SecurityGroup.Builder activeDirectoryGuid(String activeDirectoryGuid)

      The GUID of the Active Directory group associated with this security group, if synchronized with LDAP.

      Parameters:
      activeDirectoryGuid - The GUID of the Active Directory group associated with this security group, if synchronized with LDAP.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • id

      The unique identifier of the security group.

      Parameters:
      id - The unique identifier of the security group.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • isDefault

      SecurityGroup.Builder isDefault(Boolean isDefault)

      Indicates whether this is the default security group for the network. Each network has only one default group.

      Parameters:
      isDefault - Indicates whether this is the default security group for the network. Each network has only one default group.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • name

      The human-readable name of the security group.

      Parameters:
      name - The human-readable name of the security group.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • modified

      SecurityGroup.Builder modified(Integer modified)

      The timestamp when the security group was last modified, specified in epoch seconds.

      Parameters:
      modified - The timestamp when the security group was last modified, specified in epoch seconds.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • securityGroupSettings

      SecurityGroup.Builder securityGroupSettings(SecurityGroupSettings securityGroupSettings)

      The comprehensive configuration settings that define capabilities and restrictions for members of this security group.

      Parameters:
      securityGroupSettings - The comprehensive configuration settings that define capabilities and restrictions for members of this security group.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • securityGroupSettings

      default SecurityGroup.Builder securityGroupSettings(Consumer<SecurityGroupSettings.Builder> securityGroupSettings)

      The comprehensive configuration settings that define capabilities and restrictions for members of this security group.

      This is a convenience method that creates an instance of the SecurityGroupSettings.Builder avoiding the need to create one manually via SecurityGroupSettings.builder().

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

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