Class SecGroupState.Builder
- java.lang.Object
-
- com.pulumi.openstack.networking.inputs.SecGroupState.Builder
-
- Enclosing class:
- SecGroupState
public static final class SecGroupState.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()Builder(SecGroupState defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SecGroupState.BuilderallTags(com.pulumi.core.Output<java.util.List<java.lang.String>> allTags)SecGroupState.BuilderallTags(java.lang.String... allTags)SecGroupState.BuilderallTags(java.util.List<java.lang.String> allTags)SecGroupStatebuild()SecGroupState.BuilderdeleteDefaultRules(com.pulumi.core.Output<java.lang.Boolean> deleteDefaultRules)SecGroupState.BuilderdeleteDefaultRules(java.lang.Boolean deleteDefaultRules)SecGroupState.Builderdescription(com.pulumi.core.Output<java.lang.String> description)SecGroupState.Builderdescription(java.lang.String description)SecGroupState.Buildername(com.pulumi.core.Output<java.lang.String> name)SecGroupState.Buildername(java.lang.String name)SecGroupState.Builderregion(com.pulumi.core.Output<java.lang.String> region)SecGroupState.Builderregion(java.lang.String region)SecGroupState.Buildertags(com.pulumi.core.Output<java.util.List<java.lang.String>> tags)SecGroupState.Buildertags(java.lang.String... tags)SecGroupState.Buildertags(java.util.List<java.lang.String> tags)SecGroupState.BuildertenantId(com.pulumi.core.Output<java.lang.String> tenantId)SecGroupState.BuildertenantId(java.lang.String tenantId)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(SecGroupState defaults)
-
-
Method Detail
-
allTags
public SecGroupState.Builder allTags(@Nullable com.pulumi.core.Output<java.util.List<java.lang.String>> allTags)
- Parameters:
allTags- The collection of tags assigned on the security group, which have been explicitly and implicitly added.- Returns:
- builder
-
allTags
public SecGroupState.Builder allTags(java.util.List<java.lang.String> allTags)
- Parameters:
allTags- The collection of tags assigned on the security group, which have been explicitly and implicitly added.- Returns:
- builder
-
allTags
public SecGroupState.Builder allTags(java.lang.String... allTags)
- Parameters:
allTags- The collection of tags assigned on the security group, which have been explicitly and implicitly added.- Returns:
- builder
-
deleteDefaultRules
public SecGroupState.Builder deleteDefaultRules(@Nullable com.pulumi.core.Output<java.lang.Boolean> deleteDefaultRules)
- Parameters:
deleteDefaultRules- Whether or not to delete the default egress security rules. This is `false` by default. See the below note for more information.- Returns:
- builder
-
deleteDefaultRules
public SecGroupState.Builder deleteDefaultRules(java.lang.Boolean deleteDefaultRules)
- Parameters:
deleteDefaultRules- Whether or not to delete the default egress security rules. This is `false` by default. See the below note for more information.- Returns:
- builder
-
description
public SecGroupState.Builder description(@Nullable com.pulumi.core.Output<java.lang.String> description)
- Parameters:
description- A unique name for the security group.- Returns:
- builder
-
description
public SecGroupState.Builder description(java.lang.String description)
- Parameters:
description- A unique name for the security group.- Returns:
- builder
-
name
public SecGroupState.Builder name(@Nullable com.pulumi.core.Output<java.lang.String> name)
- Parameters:
name- A unique name for the security group.- Returns:
- builder
-
name
public SecGroupState.Builder name(java.lang.String name)
- Parameters:
name- A unique name for the security group.- Returns:
- builder
-
region
public SecGroupState.Builder region(@Nullable com.pulumi.core.Output<java.lang.String> region)
- Parameters:
region- The region in which to obtain the V2 networking client. A networking client is needed to create a port. If omitted, the `region` argument of the provider is used. Changing this creates a new security group.- Returns:
- builder
-
region
public SecGroupState.Builder region(java.lang.String region)
- Parameters:
region- The region in which to obtain the V2 networking client. A networking client is needed to create a port. If omitted, the `region` argument of the provider is used. Changing this creates a new security group.- Returns:
- builder
-
tags
public SecGroupState.Builder tags(@Nullable com.pulumi.core.Output<java.util.List<java.lang.String>> tags)
- Parameters:
tags- A set of string tags for the security group.- Returns:
- builder
-
tags
public SecGroupState.Builder tags(java.util.List<java.lang.String> tags)
- Parameters:
tags- A set of string tags for the security group.- Returns:
- builder
-
tags
public SecGroupState.Builder tags(java.lang.String... tags)
- Parameters:
tags- A set of string tags for the security group.- Returns:
- builder
-
tenantId
public SecGroupState.Builder tenantId(@Nullable com.pulumi.core.Output<java.lang.String> tenantId)
- Parameters:
tenantId- The owner of the security group. Required if admin wants to create a port for another tenant. Changing this creates a new security group.- Returns:
- builder
-
tenantId
public SecGroupState.Builder tenantId(java.lang.String tenantId)
- Parameters:
tenantId- The owner of the security group. Required if admin wants to create a port for another tenant. Changing this creates a new security group.- Returns:
- builder
-
build
public SecGroupState build()
-
-