Class AccessContextManagerAuthorizedOrgsDesc.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.access_context_manager_authorized_orgs_desc.AccessContextManagerAuthorizedOrgsDesc.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<AccessContextManagerAuthorizedOrgsDesc>
- Enclosing class:
- AccessContextManagerAuthorizedOrgsDesc
@Stability(Stable) public static final class AccessContextManagerAuthorizedOrgsDesc.Builder extends Object implements software.amazon.jsii.Builder<AccessContextManagerAuthorizedOrgsDesc>
A fluent builder forAccessContextManagerAuthorizedOrgsDesc.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AccessContextManagerAuthorizedOrgsDesc.BuilderassetType(String assetType)The type of entities that need to use the authorization relationship during evaluation, such as a device.AccessContextManagerAuthorizedOrgsDesc.BuilderauthorizationDirection(String authorizationDirection)The direction of the authorization relationship between this organization and the organizations listed in the "orgs" field.AccessContextManagerAuthorizedOrgsDesc.BuilderauthorizationType(String authorizationType)A granular control type for authorization levels.AccessContextManagerAuthorizedOrgsDescbuild()AccessContextManagerAuthorizedOrgsDesc.Builderconnection(com.hashicorp.cdktf.SSHProvisionerConnection connection)AccessContextManagerAuthorizedOrgsDesc.Builderconnection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)AccessContextManagerAuthorizedOrgsDesc.Buildercount(com.hashicorp.cdktf.TerraformCount count)AccessContextManagerAuthorizedOrgsDesc.Buildercount(Number count)static AccessContextManagerAuthorizedOrgsDesc.Buildercreate(software.constructs.Construct scope, String id)AccessContextManagerAuthorizedOrgsDesc.BuilderdependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)AccessContextManagerAuthorizedOrgsDesc.BuilderforEach(com.hashicorp.cdktf.ITerraformIterator forEach)AccessContextManagerAuthorizedOrgsDesc.Builderid(String id)Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/access_context_manager_authorized_orgs_desc#id AccessContextManagerAuthorizedOrgsDesc#id}.AccessContextManagerAuthorizedOrgsDesc.Builderlifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)AccessContextManagerAuthorizedOrgsDesc.Buildername(String name)Resource name for the 'AuthorizedOrgsDesc'.AccessContextManagerAuthorizedOrgsDesc.Builderorgs(List<String> orgs)The list of organization ids in this AuthorizedOrgsDesc.AccessContextManagerAuthorizedOrgsDesc.Builderparent(String parent)Required.AccessContextManagerAuthorizedOrgsDesc.Builderprovider(com.hashicorp.cdktf.TerraformProvider provider)AccessContextManagerAuthorizedOrgsDesc.Builderprovisioners(List<? extends Object> provisioners)AccessContextManagerAuthorizedOrgsDesc.Buildertimeouts(AccessContextManagerAuthorizedOrgsDescTimeouts timeouts)timeouts block.
-
-
-
Method Detail
-
create
@Stability(Stable) public static AccessContextManagerAuthorizedOrgsDesc.Builder create(software.constructs.Construct scope, String id)
- Parameters:
scope- The scope in which to define this construct. This parameter is required.id- The scoped construct ID. This parameter is required.- Returns:
- a new instance of
AccessContextManagerAuthorizedOrgsDesc.Builder.
-
connection
@Stability(Experimental) public AccessContextManagerAuthorizedOrgsDesc.Builder connection(com.hashicorp.cdktf.SSHProvisionerConnection connection)
- Parameters:
connection- This parameter is required.- Returns:
this
-
connection
@Stability(Experimental) public AccessContextManagerAuthorizedOrgsDesc.Builder connection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)
- Parameters:
connection- This parameter is required.- Returns:
this
-
count
@Stability(Experimental) public AccessContextManagerAuthorizedOrgsDesc.Builder count(Number count)
- Parameters:
count- This parameter is required.- Returns:
this
-
count
@Stability(Experimental) public AccessContextManagerAuthorizedOrgsDesc.Builder count(com.hashicorp.cdktf.TerraformCount count)
- Parameters:
count- This parameter is required.- Returns:
this
-
dependsOn
@Stability(Experimental) public AccessContextManagerAuthorizedOrgsDesc.Builder dependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)
- Parameters:
dependsOn- This parameter is required.- Returns:
this
-
forEach
@Stability(Experimental) public AccessContextManagerAuthorizedOrgsDesc.Builder forEach(com.hashicorp.cdktf.ITerraformIterator forEach)
- Parameters:
forEach- This parameter is required.- Returns:
this
-
lifecycle
@Stability(Experimental) public AccessContextManagerAuthorizedOrgsDesc.Builder lifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)
- Parameters:
lifecycle- This parameter is required.- Returns:
this
-
provider
@Stability(Experimental) public AccessContextManagerAuthorizedOrgsDesc.Builder provider(com.hashicorp.cdktf.TerraformProvider provider)
- Parameters:
provider- This parameter is required.- Returns:
this
-
provisioners
@Stability(Experimental) public AccessContextManagerAuthorizedOrgsDesc.Builder provisioners(List<? extends Object> provisioners)
- Parameters:
provisioners- This parameter is required.- Returns:
this
-
name
@Stability(Stable) public AccessContextManagerAuthorizedOrgsDesc.Builder name(String name)
Resource name for the 'AuthorizedOrgsDesc'.Format: 'accessPolicies/{access_policy}/authorizedOrgsDescs/{authorized_orgs_desc}'. The 'authorized_orgs_desc' component must begin with a letter, followed by alphanumeric characters or '_'. After you create an 'AuthorizedOrgsDesc', you cannot change its 'name'. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/access_context_manager_authorized_orgs_desc#name AccessContextManagerAuthorizedOrgsDesc#name}
- Parameters:
name- Resource name for the 'AuthorizedOrgsDesc'. This parameter is required.- Returns:
this
-
parent
@Stability(Stable) public AccessContextManagerAuthorizedOrgsDesc.Builder parent(String parent)
Required. Resource name for the access policy which owns this 'AuthorizedOrgsDesc'.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/access_context_manager_authorized_orgs_desc#parent AccessContextManagerAuthorizedOrgsDesc#parent}
- Parameters:
parent- Required. Resource name for the access policy which owns this 'AuthorizedOrgsDesc'. This parameter is required.- Returns:
this
-
assetType
@Stability(Stable) public AccessContextManagerAuthorizedOrgsDesc.Builder assetType(String assetType)
The type of entities that need to use the authorization relationship during evaluation, such as a device.Valid values are "ASSET_TYPE_DEVICE" and "ASSET_TYPE_CREDENTIAL_STRENGTH". Possible values: ["ASSET_TYPE_DEVICE", "ASSET_TYPE_CREDENTIAL_STRENGTH"] Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/access_context_manager_authorized_orgs_desc#asset_type AccessContextManagerAuthorizedOrgsDesc#asset_type}
- Parameters:
assetType- The type of entities that need to use the authorization relationship during evaluation, such as a device. This parameter is required.- Returns:
this
-
authorizationDirection
@Stability(Stable) public AccessContextManagerAuthorizedOrgsDesc.Builder authorizationDirection(String authorizationDirection)
The direction of the authorization relationship between this organization and the organizations listed in the "orgs" field.The valid values for this field include the following: AUTHORIZATION_DIRECTION_FROM: Allows this organization to evaluate traffic in the organizations listed in the 'orgs' field. AUTHORIZATION_DIRECTION_TO: Allows the organizations listed in the 'orgs' field to evaluate the traffic in this organization. For the authorization relationship to take effect, all of the organizations must authorize and specify the appropriate relationship direction. For example, if organization A authorized organization B and C to evaluate its traffic, by specifying "AUTHORIZATION_DIRECTION_TO" as the authorization direction, organizations B and C must specify "AUTHORIZATION_DIRECTION_FROM" as the authorization direction in their "AuthorizedOrgsDesc" resource. Possible values: ["AUTHORIZATION_DIRECTION_TO", "AUTHORIZATION_DIRECTION_FROM"] Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/access_context_manager_authorized_orgs_desc#authorization_direction AccessContextManagerAuthorizedOrgsDesc#authorization_direction}
- Parameters:
authorizationDirection- The direction of the authorization relationship between this organization and the organizations listed in the "orgs" field. This parameter is required.- Returns:
this
-
authorizationType
@Stability(Stable) public AccessContextManagerAuthorizedOrgsDesc.Builder authorizationType(String authorizationType)
A granular control type for authorization levels. Valid value is "AUTHORIZATION_TYPE_TRUST". Possible values: ["AUTHORIZATION_TYPE_TRUST"].Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/access_context_manager_authorized_orgs_desc#authorization_type AccessContextManagerAuthorizedOrgsDesc#authorization_type}
- Parameters:
authorizationType- A granular control type for authorization levels. Valid value is "AUTHORIZATION_TYPE_TRUST". Possible values: ["AUTHORIZATION_TYPE_TRUST"]. This parameter is required.- Returns:
this
-
id
@Stability(Stable) public AccessContextManagerAuthorizedOrgsDesc.Builder id(String id)
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/access_context_manager_authorized_orgs_desc#id AccessContextManagerAuthorizedOrgsDesc#id}.Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable.
- Parameters:
id- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/access_context_manager_authorized_orgs_desc#id AccessContextManagerAuthorizedOrgsDesc#id}. This parameter is required.- Returns:
this
-
orgs
@Stability(Stable) public AccessContextManagerAuthorizedOrgsDesc.Builder orgs(List<String> orgs)
The list of organization ids in this AuthorizedOrgsDesc. Format: 'organizations/<org_number>' Example: 'organizations/123456'.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/access_context_manager_authorized_orgs_desc#orgs AccessContextManagerAuthorizedOrgsDesc#orgs}
- Parameters:
orgs- The list of organization ids in this AuthorizedOrgsDesc. Format: 'organizations/<org_number>' Example: 'organizations/123456'. This parameter is required.- Returns:
this
-
timeouts
@Stability(Stable) public AccessContextManagerAuthorizedOrgsDesc.Builder timeouts(AccessContextManagerAuthorizedOrgsDescTimeouts timeouts)
timeouts block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/access_context_manager_authorized_orgs_desc#timeouts AccessContextManagerAuthorizedOrgsDesc#timeouts}
- Parameters:
timeouts- timeouts block. This parameter is required.- Returns:
this
-
build
@Stability(Stable) public AccessContextManagerAuthorizedOrgsDesc build()
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<AccessContextManagerAuthorizedOrgsDesc>- Returns:
- a newly built instance of
AccessContextManagerAuthorizedOrgsDesc.
-
-