Class AccessContextManagerAuthorizedOrgsDesc.Builder

    • Method Detail

      • 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
      • lifecycle

        @Stability(Experimental)
        public AccessContextManagerAuthorizedOrgsDesc.Builder lifecycle​(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)
        Parameters:
        lifecycle - 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