Class DefaultSecurityGroupState.Builder

  • Enclosing class:
    DefaultSecurityGroupState

    public static final class DefaultSecurityGroupState.Builder
    extends java.lang.Object
    • Method Detail

      • arn

        public DefaultSecurityGroupState.Builder arn​(@Nullable
                                                     com.pulumi.core.Output<java.lang.String> arn)
        Parameters:
        arn - ARN of the security group.
        Returns:
        builder
      • description

        public DefaultSecurityGroupState.Builder description​(@Nullable
                                                             com.pulumi.core.Output<java.lang.String> description)
        Parameters:
        description - Description of the security group.
        Returns:
        builder
      • description

        public DefaultSecurityGroupState.Builder description​(java.lang.String description)
        Parameters:
        description - Description of the security group.
        Returns:
        builder
      • name

        public DefaultSecurityGroupState.Builder name​(@Nullable
                                                      com.pulumi.core.Output<java.lang.String> name)
        Parameters:
        name - Name of the security group.
        Returns:
        builder
      • ownerId

        public DefaultSecurityGroupState.Builder ownerId​(@Nullable
                                                         com.pulumi.core.Output<java.lang.String> ownerId)
        Parameters:
        ownerId - Owner ID.
        Returns:
        builder
      • region

        public DefaultSecurityGroupState.Builder region​(@Nullable
                                                        com.pulumi.core.Output<java.lang.String> region)
        Parameters:
        region - Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
        Returns:
        builder
      • region

        public DefaultSecurityGroupState.Builder region​(java.lang.String region)
        Parameters:
        region - Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
        Returns:
        builder
      • tags

        public DefaultSecurityGroupState.Builder tags​(@Nullable
                                                      com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> tags)
        Parameters:
        tags - Map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
        Returns:
        builder
      • tags

        public DefaultSecurityGroupState.Builder tags​(java.util.Map<java.lang.String,​java.lang.String> tags)
        Parameters:
        tags - Map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
        Returns:
        builder
      • tagsAll

        public DefaultSecurityGroupState.Builder tagsAll​(@Nullable
                                                         com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> tagsAll)
        Parameters:
        tagsAll - A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
        Returns:
        builder
      • tagsAll

        public DefaultSecurityGroupState.Builder tagsAll​(java.util.Map<java.lang.String,​java.lang.String> tagsAll)
        Parameters:
        tagsAll - A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
        Returns:
        builder
      • vpcId

        public DefaultSecurityGroupState.Builder vpcId​(@Nullable
                                                       com.pulumi.core.Output<java.lang.String> vpcId)
        Parameters:
        vpcId - VPC ID. **Note that changing the `vpcId` will _not_ restore any default security group rules that were modified, added, or removed.** It will be left in its current state.
        Returns:
        builder
      • vpcId

        public DefaultSecurityGroupState.Builder vpcId​(java.lang.String vpcId)
        Parameters:
        vpcId - VPC ID. **Note that changing the `vpcId` will _not_ restore any default security group rules that were modified, added, or removed.** It will be left in its current state.
        Returns:
        builder