Class AccessContextManagerAuthorizedOrgsDescConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.access_context_manager_authorized_orgs_desc.AccessContextManagerAuthorizedOrgsDescConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<AccessContextManagerAuthorizedOrgsDescConfig>
- Enclosing interface:
- AccessContextManagerAuthorizedOrgsDescConfig
@Stability(Stable) public static final class AccessContextManagerAuthorizedOrgsDescConfig.Builder extends Object implements software.amazon.jsii.Builder<AccessContextManagerAuthorizedOrgsDescConfig>
A builder forAccessContextManagerAuthorizedOrgsDescConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
name
@Stability(Stable) public AccessContextManagerAuthorizedOrgsDescConfig.Builder name(String name)
Sets the value ofAccessContextManagerAuthorizedOrgsDescConfig.getName()- Parameters:
name- Resource name for the 'AuthorizedOrgsDesc'. This parameter is required. 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}- Returns:
this
-
parent
@Stability(Stable) public AccessContextManagerAuthorizedOrgsDescConfig.Builder parent(String parent)
Sets the value ofAccessContextManagerAuthorizedOrgsDescConfig.getParent()- Parameters:
parent- Required. Resource name for the access policy which owns this 'AuthorizedOrgsDesc'. This parameter is required. 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}- Returns:
this
-
assetType
@Stability(Stable) public AccessContextManagerAuthorizedOrgsDescConfig.Builder assetType(String assetType)
Sets the value ofAccessContextManagerAuthorizedOrgsDescConfig.getAssetType()- Parameters:
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}- Returns:
this
-
authorizationDirection
@Stability(Stable) public AccessContextManagerAuthorizedOrgsDescConfig.Builder authorizationDirection(String authorizationDirection)
Sets the value ofAccessContextManagerAuthorizedOrgsDescConfig.getAuthorizationDirection()- Parameters:
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}- Returns:
this
-
authorizationType
@Stability(Stable) public AccessContextManagerAuthorizedOrgsDescConfig.Builder authorizationType(String authorizationType)
Sets the value ofAccessContextManagerAuthorizedOrgsDescConfig.getAuthorizationType()- Parameters:
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}- Returns:
this
-
id
@Stability(Stable) public AccessContextManagerAuthorizedOrgsDescConfig.Builder id(String id)
Sets the value ofAccessContextManagerAuthorizedOrgsDescConfig.getId()- 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}. 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.- Returns:
this
-
orgs
@Stability(Stable) public AccessContextManagerAuthorizedOrgsDescConfig.Builder orgs(List<String> orgs)
Sets the value ofAccessContextManagerAuthorizedOrgsDescConfig.getOrgs()- Parameters:
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}- Returns:
this
-
timeouts
@Stability(Stable) public AccessContextManagerAuthorizedOrgsDescConfig.Builder timeouts(AccessContextManagerAuthorizedOrgsDescTimeouts timeouts)
Sets the value ofAccessContextManagerAuthorizedOrgsDescConfig.getTimeouts()- Parameters:
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}- Returns:
this
-
connection
@Stability(Experimental) public AccessContextManagerAuthorizedOrgsDescConfig.Builder connection(com.hashicorp.cdktf.SSHProvisionerConnection connection)
Sets the value ofTerraformMetaArguments.getConnection()- Parameters:
connection- the value to be set.- Returns:
this
-
connection
@Stability(Experimental) public AccessContextManagerAuthorizedOrgsDescConfig.Builder connection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)
Sets the value ofTerraformMetaArguments.getConnection()- Parameters:
connection- the value to be set.- Returns:
this
-
count
@Stability(Experimental) public AccessContextManagerAuthorizedOrgsDescConfig.Builder count(Number count)
Sets the value ofTerraformMetaArguments.getCount()- Parameters:
count- the value to be set.- Returns:
this
-
count
@Stability(Experimental) public AccessContextManagerAuthorizedOrgsDescConfig.Builder count(com.hashicorp.cdktf.TerraformCount count)
Sets the value ofTerraformMetaArguments.getCount()- Parameters:
count- the value to be set.- Returns:
this
-
dependsOn
@Stability(Experimental) public AccessContextManagerAuthorizedOrgsDescConfig.Builder dependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)
Sets the value ofTerraformMetaArguments.getDependsOn()- Parameters:
dependsOn- the value to be set.- Returns:
this
-
forEach
@Stability(Experimental) public AccessContextManagerAuthorizedOrgsDescConfig.Builder forEach(com.hashicorp.cdktf.ITerraformIterator forEach)
Sets the value ofTerraformMetaArguments.getForEach()- Parameters:
forEach- the value to be set.- Returns:
this
-
lifecycle
@Stability(Experimental) public AccessContextManagerAuthorizedOrgsDescConfig.Builder lifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)
Sets the value ofTerraformMetaArguments.getLifecycle()- Parameters:
lifecycle- the value to be set.- Returns:
this
-
provider
@Stability(Experimental) public AccessContextManagerAuthorizedOrgsDescConfig.Builder provider(com.hashicorp.cdktf.TerraformProvider provider)
Sets the value ofTerraformMetaArguments.getProvider()- Parameters:
provider- the value to be set.- Returns:
this
-
provisioners
@Stability(Experimental) public AccessContextManagerAuthorizedOrgsDescConfig.Builder provisioners(List<? extends Object> provisioners)
Sets the value ofTerraformMetaArguments.getProvisioners()- Parameters:
provisioners- the value to be set.- Returns:
this
-
build
@Stability(Stable) public AccessContextManagerAuthorizedOrgsDescConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<AccessContextManagerAuthorizedOrgsDescConfig>- Returns:
- a new instance of
AccessContextManagerAuthorizedOrgsDescConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-