Interface SecurityGroup.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<SecurityGroup.Builder,,SecurityGroup> SdkBuilder<SecurityGroup.Builder,,SecurityGroup> SdkPojo
- Enclosing class:
SecurityGroup
-
Method Summary
Modifier and TypeMethodDescriptionactiveDirectoryGuid(String activeDirectoryGuid) The GUID of the Active Directory group associated with this security group, if synchronized with LDAP.activeMembers(Integer activeMembers) The number of active user members currently in the security group.botMembers(Integer botMembers) The number of bot members currently in the security group.The unique identifier of the security group.Indicates whether this is the default security group for the network.The timestamp when the security group was last modified, specified in epoch seconds.The human-readable name of the security group.default SecurityGroup.BuildersecurityGroupSettings(Consumer<SecurityGroupSettings.Builder> securityGroupSettings) The comprehensive configuration settings that define capabilities and restrictions for members of this security group.securityGroupSettings(SecurityGroupSettings securityGroupSettings) The comprehensive configuration settings that define capabilities and restrictions for members of this security group.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
-
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
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
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
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
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
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 theSecurityGroupSettings.Builderavoiding the need to create one manually viaSecurityGroupSettings.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosecurityGroupSettings(SecurityGroupSettings).- Parameters:
securityGroupSettings- a consumer that will call methods onSecurityGroupSettings.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-