# Dedicatedv1beta1VpcPeering

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Name** | Pointer to **string** |  | [optional] [readonly] 
**VpcPeeringId** | Pointer to **string** |  | [optional] [readonly] 
**Labels** | Pointer to **map[string]string** | The labels of the vpc peering. It always contains the &#x60;project_id&#x60; label. | [optional] [readonly] 
**TidbCloudRegionId** | **string** |  | 
**CustomerRegionId** | Pointer to **string** | Format: {cloud_provider}-{region_code} For AWS, it&#39;s required. For GCP, it&#39;s optional. Since GCP does not require region_id when creating VPC peering. | [optional] 
**CustomerAccountId** | **string** | In AWS, it is the account ID. In GCP, it is the project name. | 
**CustomerVpcId** | **string** | In AWS, it is the VPC ID. In GCP, it is the network name. | 
**CustomerVpcCidr** | **string** |  | 
**TidbCloudCloudProvider** | Pointer to [**V1beta1RegionCloudProvider**](V1beta1RegionCloudProvider.md) |  | [optional] 
**TidbCloudAccountId** | Pointer to **string** | In AWS, it is the account ID. In GCP, it is the project name. | [optional] [readonly] 
**TidbCloudVpcId** | Pointer to **string** | In AWS, it is the VPC ID. In GCP, it is the network name. | [optional] [readonly] 
**TidbCloudVpcCidr** | Pointer to **string** |  | [optional] [readonly] 
**State** | Pointer to [**Dedicatedv1beta1VpcPeeringState**](Dedicatedv1beta1VpcPeeringState.md) |  | [optional] 
**AwsVpcPeeringConnectionId** | Pointer to **NullableString** | Only for AWS vpc peerings. | [optional] [readonly] 

## Methods

### NewDedicatedv1beta1VpcPeering

`func NewDedicatedv1beta1VpcPeering(tidbCloudRegionId string, customerAccountId string, customerVpcId string, customerVpcCidr string, ) *Dedicatedv1beta1VpcPeering`

NewDedicatedv1beta1VpcPeering instantiates a new Dedicatedv1beta1VpcPeering object
This constructor will assign default values to properties that have it defined,
and makes sure properties required by API are set, but the set of arguments
will change when the set of required properties is changed

### NewDedicatedv1beta1VpcPeeringWithDefaults

`func NewDedicatedv1beta1VpcPeeringWithDefaults() *Dedicatedv1beta1VpcPeering`

NewDedicatedv1beta1VpcPeeringWithDefaults instantiates a new Dedicatedv1beta1VpcPeering object
This constructor will only assign default values to properties that have it defined,
but it doesn't guarantee that properties required by API are set

### GetName

`func (o *Dedicatedv1beta1VpcPeering) GetName() string`

GetName returns the Name field if non-nil, zero value otherwise.

### GetNameOk

`func (o *Dedicatedv1beta1VpcPeering) GetNameOk() (*string, bool)`

GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.

### SetName

`func (o *Dedicatedv1beta1VpcPeering) SetName(v string)`

SetName sets Name field to given value.

### HasName

`func (o *Dedicatedv1beta1VpcPeering) HasName() bool`

HasName returns a boolean if a field has been set.

### GetVpcPeeringId

`func (o *Dedicatedv1beta1VpcPeering) GetVpcPeeringId() string`

GetVpcPeeringId returns the VpcPeeringId field if non-nil, zero value otherwise.

### GetVpcPeeringIdOk

`func (o *Dedicatedv1beta1VpcPeering) GetVpcPeeringIdOk() (*string, bool)`

GetVpcPeeringIdOk returns a tuple with the VpcPeeringId field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.

### SetVpcPeeringId

`func (o *Dedicatedv1beta1VpcPeering) SetVpcPeeringId(v string)`

SetVpcPeeringId sets VpcPeeringId field to given value.

### HasVpcPeeringId

`func (o *Dedicatedv1beta1VpcPeering) HasVpcPeeringId() bool`

HasVpcPeeringId returns a boolean if a field has been set.

### GetLabels

`func (o *Dedicatedv1beta1VpcPeering) GetLabels() map[string]string`

GetLabels returns the Labels field if non-nil, zero value otherwise.

### GetLabelsOk

`func (o *Dedicatedv1beta1VpcPeering) GetLabelsOk() (*map[string]string, bool)`

GetLabelsOk returns a tuple with the Labels field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.

### SetLabels

`func (o *Dedicatedv1beta1VpcPeering) SetLabels(v map[string]string)`

SetLabels sets Labels field to given value.

### HasLabels

`func (o *Dedicatedv1beta1VpcPeering) HasLabels() bool`

HasLabels returns a boolean if a field has been set.

### GetTidbCloudRegionId

`func (o *Dedicatedv1beta1VpcPeering) GetTidbCloudRegionId() string`

GetTidbCloudRegionId returns the TidbCloudRegionId field if non-nil, zero value otherwise.

### GetTidbCloudRegionIdOk

`func (o *Dedicatedv1beta1VpcPeering) GetTidbCloudRegionIdOk() (*string, bool)`

GetTidbCloudRegionIdOk returns a tuple with the TidbCloudRegionId field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.

### SetTidbCloudRegionId

`func (o *Dedicatedv1beta1VpcPeering) SetTidbCloudRegionId(v string)`

SetTidbCloudRegionId sets TidbCloudRegionId field to given value.


### GetCustomerRegionId

`func (o *Dedicatedv1beta1VpcPeering) GetCustomerRegionId() string`

GetCustomerRegionId returns the CustomerRegionId field if non-nil, zero value otherwise.

### GetCustomerRegionIdOk

`func (o *Dedicatedv1beta1VpcPeering) GetCustomerRegionIdOk() (*string, bool)`

GetCustomerRegionIdOk returns a tuple with the CustomerRegionId field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.

### SetCustomerRegionId

`func (o *Dedicatedv1beta1VpcPeering) SetCustomerRegionId(v string)`

SetCustomerRegionId sets CustomerRegionId field to given value.

### HasCustomerRegionId

`func (o *Dedicatedv1beta1VpcPeering) HasCustomerRegionId() bool`

HasCustomerRegionId returns a boolean if a field has been set.

### GetCustomerAccountId

`func (o *Dedicatedv1beta1VpcPeering) GetCustomerAccountId() string`

GetCustomerAccountId returns the CustomerAccountId field if non-nil, zero value otherwise.

### GetCustomerAccountIdOk

`func (o *Dedicatedv1beta1VpcPeering) GetCustomerAccountIdOk() (*string, bool)`

GetCustomerAccountIdOk returns a tuple with the CustomerAccountId field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.

### SetCustomerAccountId

`func (o *Dedicatedv1beta1VpcPeering) SetCustomerAccountId(v string)`

SetCustomerAccountId sets CustomerAccountId field to given value.


### GetCustomerVpcId

`func (o *Dedicatedv1beta1VpcPeering) GetCustomerVpcId() string`

GetCustomerVpcId returns the CustomerVpcId field if non-nil, zero value otherwise.

### GetCustomerVpcIdOk

`func (o *Dedicatedv1beta1VpcPeering) GetCustomerVpcIdOk() (*string, bool)`

GetCustomerVpcIdOk returns a tuple with the CustomerVpcId field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.

### SetCustomerVpcId

`func (o *Dedicatedv1beta1VpcPeering) SetCustomerVpcId(v string)`

SetCustomerVpcId sets CustomerVpcId field to given value.


### GetCustomerVpcCidr

`func (o *Dedicatedv1beta1VpcPeering) GetCustomerVpcCidr() string`

GetCustomerVpcCidr returns the CustomerVpcCidr field if non-nil, zero value otherwise.

### GetCustomerVpcCidrOk

`func (o *Dedicatedv1beta1VpcPeering) GetCustomerVpcCidrOk() (*string, bool)`

GetCustomerVpcCidrOk returns a tuple with the CustomerVpcCidr field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.

### SetCustomerVpcCidr

`func (o *Dedicatedv1beta1VpcPeering) SetCustomerVpcCidr(v string)`

SetCustomerVpcCidr sets CustomerVpcCidr field to given value.


### GetTidbCloudCloudProvider

`func (o *Dedicatedv1beta1VpcPeering) GetTidbCloudCloudProvider() V1beta1RegionCloudProvider`

GetTidbCloudCloudProvider returns the TidbCloudCloudProvider field if non-nil, zero value otherwise.

### GetTidbCloudCloudProviderOk

`func (o *Dedicatedv1beta1VpcPeering) GetTidbCloudCloudProviderOk() (*V1beta1RegionCloudProvider, bool)`

GetTidbCloudCloudProviderOk returns a tuple with the TidbCloudCloudProvider field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.

### SetTidbCloudCloudProvider

`func (o *Dedicatedv1beta1VpcPeering) SetTidbCloudCloudProvider(v V1beta1RegionCloudProvider)`

SetTidbCloudCloudProvider sets TidbCloudCloudProvider field to given value.

### HasTidbCloudCloudProvider

`func (o *Dedicatedv1beta1VpcPeering) HasTidbCloudCloudProvider() bool`

HasTidbCloudCloudProvider returns a boolean if a field has been set.

### GetTidbCloudAccountId

`func (o *Dedicatedv1beta1VpcPeering) GetTidbCloudAccountId() string`

GetTidbCloudAccountId returns the TidbCloudAccountId field if non-nil, zero value otherwise.

### GetTidbCloudAccountIdOk

`func (o *Dedicatedv1beta1VpcPeering) GetTidbCloudAccountIdOk() (*string, bool)`

GetTidbCloudAccountIdOk returns a tuple with the TidbCloudAccountId field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.

### SetTidbCloudAccountId

`func (o *Dedicatedv1beta1VpcPeering) SetTidbCloudAccountId(v string)`

SetTidbCloudAccountId sets TidbCloudAccountId field to given value.

### HasTidbCloudAccountId

`func (o *Dedicatedv1beta1VpcPeering) HasTidbCloudAccountId() bool`

HasTidbCloudAccountId returns a boolean if a field has been set.

### GetTidbCloudVpcId

`func (o *Dedicatedv1beta1VpcPeering) GetTidbCloudVpcId() string`

GetTidbCloudVpcId returns the TidbCloudVpcId field if non-nil, zero value otherwise.

### GetTidbCloudVpcIdOk

`func (o *Dedicatedv1beta1VpcPeering) GetTidbCloudVpcIdOk() (*string, bool)`

GetTidbCloudVpcIdOk returns a tuple with the TidbCloudVpcId field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.

### SetTidbCloudVpcId

`func (o *Dedicatedv1beta1VpcPeering) SetTidbCloudVpcId(v string)`

SetTidbCloudVpcId sets TidbCloudVpcId field to given value.

### HasTidbCloudVpcId

`func (o *Dedicatedv1beta1VpcPeering) HasTidbCloudVpcId() bool`

HasTidbCloudVpcId returns a boolean if a field has been set.

### GetTidbCloudVpcCidr

`func (o *Dedicatedv1beta1VpcPeering) GetTidbCloudVpcCidr() string`

GetTidbCloudVpcCidr returns the TidbCloudVpcCidr field if non-nil, zero value otherwise.

### GetTidbCloudVpcCidrOk

`func (o *Dedicatedv1beta1VpcPeering) GetTidbCloudVpcCidrOk() (*string, bool)`

GetTidbCloudVpcCidrOk returns a tuple with the TidbCloudVpcCidr field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.

### SetTidbCloudVpcCidr

`func (o *Dedicatedv1beta1VpcPeering) SetTidbCloudVpcCidr(v string)`

SetTidbCloudVpcCidr sets TidbCloudVpcCidr field to given value.

### HasTidbCloudVpcCidr

`func (o *Dedicatedv1beta1VpcPeering) HasTidbCloudVpcCidr() bool`

HasTidbCloudVpcCidr returns a boolean if a field has been set.

### GetState

`func (o *Dedicatedv1beta1VpcPeering) GetState() Dedicatedv1beta1VpcPeeringState`

GetState returns the State field if non-nil, zero value otherwise.

### GetStateOk

`func (o *Dedicatedv1beta1VpcPeering) GetStateOk() (*Dedicatedv1beta1VpcPeeringState, bool)`

GetStateOk returns a tuple with the State field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.

### SetState

`func (o *Dedicatedv1beta1VpcPeering) SetState(v Dedicatedv1beta1VpcPeeringState)`

SetState sets State field to given value.

### HasState

`func (o *Dedicatedv1beta1VpcPeering) HasState() bool`

HasState returns a boolean if a field has been set.

### GetAwsVpcPeeringConnectionId

`func (o *Dedicatedv1beta1VpcPeering) GetAwsVpcPeeringConnectionId() string`

GetAwsVpcPeeringConnectionId returns the AwsVpcPeeringConnectionId field if non-nil, zero value otherwise.

### GetAwsVpcPeeringConnectionIdOk

`func (o *Dedicatedv1beta1VpcPeering) GetAwsVpcPeeringConnectionIdOk() (*string, bool)`

GetAwsVpcPeeringConnectionIdOk returns a tuple with the AwsVpcPeeringConnectionId field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.

### SetAwsVpcPeeringConnectionId

`func (o *Dedicatedv1beta1VpcPeering) SetAwsVpcPeeringConnectionId(v string)`

SetAwsVpcPeeringConnectionId sets AwsVpcPeeringConnectionId field to given value.

### HasAwsVpcPeeringConnectionId

`func (o *Dedicatedv1beta1VpcPeering) HasAwsVpcPeeringConnectionId() bool`

HasAwsVpcPeeringConnectionId returns a boolean if a field has been set.

### SetAwsVpcPeeringConnectionIdNil

`func (o *Dedicatedv1beta1VpcPeering) SetAwsVpcPeeringConnectionIdNil(b bool)`

 SetAwsVpcPeeringConnectionIdNil sets the value for AwsVpcPeeringConnectionId to be an explicit nil

### UnsetAwsVpcPeeringConnectionId
`func (o *Dedicatedv1beta1VpcPeering) UnsetAwsVpcPeeringConnectionId()`

UnsetAwsVpcPeeringConnectionId ensures that no value is present for AwsVpcPeeringConnectionId, not even an explicit nil

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)


