Class AwsSourceDetails.Builder (1.48.0)

public static final class AwsSourceDetails.Builder extends GeneratedMessageV3.Builder<AwsSourceDetails.Builder> implements AwsSourceDetailsOrBuilder

AwsSourceDetails message describes a specific source details for the AWS source type.

Protobuf type google.cloud.vmmigration.v1.AwsSourceDetails

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllInventorySecurityGroupNames(Iterable<String> values)

public AwsSourceDetails.Builder addAllInventorySecurityGroupNames(Iterable<String> values)

AWS security group names to limit the scope of the source inventory.

repeated string inventory_security_group_names = 7;

Parameter
Name Description
values Iterable<String>

The inventorySecurityGroupNames to add.

Returns
Type Description
AwsSourceDetails.Builder

This builder for chaining.

addAllInventoryTagList(Iterable<? extends AwsSourceDetails.Tag> values)

public AwsSourceDetails.Builder addAllInventoryTagList(Iterable<? extends AwsSourceDetails.Tag> values)

AWS resource tags to limit the scope of the source inventory.

repeated .google.cloud.vmmigration.v1.AwsSourceDetails.Tag inventory_tag_list = 10;

Parameter
Name Description
values Iterable<? extends com.google.cloud.vmmigration.v1.AwsSourceDetails.Tag>
Returns
Type Description
AwsSourceDetails.Builder

addInventorySecurityGroupNames(String value)

public AwsSourceDetails.Builder addInventorySecurityGroupNames(String value)

AWS security group names to limit the scope of the source inventory.

repeated string inventory_security_group_names = 7;

Parameter
Name Description
value String

The inventorySecurityGroupNames to add.

Returns
Type Description
AwsSourceDetails.Builder

This builder for chaining.

addInventorySecurityGroupNamesBytes(ByteString value)

public AwsSourceDetails.Builder addInventorySecurityGroupNamesBytes(ByteString value)

AWS security group names to limit the scope of the source inventory.

repeated string inventory_security_group_names = 7;

Parameter
Name Description
value ByteString

The bytes of the inventorySecurityGroupNames to add.

Returns
Type Description
AwsSourceDetails.Builder

This builder for chaining.

addInventoryTagList(AwsSourceDetails.Tag value)

public AwsSourceDetails.Builder addInventoryTagList(AwsSourceDetails.Tag value)

AWS resource tags to limit the scope of the source inventory.

repeated .google.cloud.vmmigration.v1.AwsSourceDetails.Tag inventory_tag_list = 10;

Parameter
Name Description
value AwsSourceDetails.Tag
Returns
Type Description
AwsSourceDetails.Builder

addInventoryTagList(AwsSourceDetails.Tag.Builder builderForValue)

public AwsSourceDetails.Builder addInventoryTagList(AwsSourceDetails.Tag.Builder builderForValue)

AWS resource tags to limit the scope of the source inventory.

repeated .google.cloud.vmmigration.v1.AwsSourceDetails.Tag inventory_tag_list = 10;

Parameter
Name Description
builderForValue AwsSourceDetails.Tag.Builder
Returns
Type Description
AwsSourceDetails.Builder

addInventoryTagList(int index, AwsSourceDetails.Tag value)

public AwsSourceDetails.Builder addInventoryTagList(int index, AwsSourceDetails.Tag value)

AWS resource tags to limit the scope of the source inventory.

repeated .google.cloud.vmmigration.v1.AwsSourceDetails.Tag inventory_tag_list = 10;

Parameters
Name Description
index int
value AwsSourceDetails.Tag
Returns
Type Description
AwsSourceDetails.Builder

addInventoryTagList(int index, AwsSourceDetails.Tag.Builder builderForValue)

public AwsSourceDetails.Builder addInventoryTagList(int index, AwsSourceDetails.Tag.Builder builderForValue)

AWS resource tags to limit the scope of the source inventory.

repeated .google.cloud.vmmigration.v1.AwsSourceDetails.Tag inventory_tag_list = 10;

Parameters
Name Description
index int
builderForValue AwsSourceDetails.Tag.Builder
Returns
Type Description
AwsSourceDetails.Builder

addInventoryTagListBuilder()

public AwsSourceDetails.Tag.Builder addInventoryTagListBuilder()

AWS resource tags to limit the scope of the source inventory.

repeated .google.cloud.vmmigration.v1.AwsSourceDetails.Tag inventory_tag_list = 10;

Returns
Type Description
AwsSourceDetails.Tag.Builder

addInventoryTagListBuilder(int index)

public AwsSourceDetails.Tag.Builder addInventoryTagListBuilder(int index)

AWS resource tags to limit the scope of the source inventory.

repeated .google.cloud.vmmigration.v1.AwsSourceDetails.Tag inventory_tag_list = 10;

Parameter
Name Description
index int
Returns
Type Description
AwsSourceDetails.Tag.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public AwsSourceDetails.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
AwsSourceDetails.Builder
Overrides

build()

public AwsSourceDetails build()
Returns
Type Description
AwsSourceDetails

buildPartial()

public AwsSourceDetails buildPartial()
Returns
Type Description
AwsSourceDetails

clear()

public AwsSourceDetails.Builder clear()
Returns
Type Description
AwsSourceDetails.Builder
Overrides

clearAccessKeyCreds()

public AwsSourceDetails.Builder clearAccessKeyCreds()

AWS Credentials using access key id and secret.

.google.cloud.vmmigration.v1.AwsSourceDetails.AccessKeyCredentials access_key_creds = 11;

Returns
Type Description
AwsSourceDetails.Builder

clearAwsRegion()

public AwsSourceDetails.Builder clearAwsRegion()

Immutable. The AWS region that the source VMs will be migrated from.

string aws_region = 3 [(.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
AwsSourceDetails.Builder

This builder for chaining.

clearCredentialsType()

public AwsSourceDetails.Builder clearCredentialsType()
Returns
Type Description
AwsSourceDetails.Builder

clearError()

public AwsSourceDetails.Builder clearError()

Output only. Provides details on the state of the Source in case of an error.

.google.rpc.Status error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
AwsSourceDetails.Builder

clearField(Descriptors.FieldDescriptor field)

public AwsSourceDetails.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
AwsSourceDetails.Builder
Overrides

clearInventorySecurityGroupNames()

public AwsSourceDetails.Builder clearInventorySecurityGroupNames()

AWS security group names to limit the scope of the source inventory.

repeated string inventory_security_group_names = 7;

Returns
Type Description
AwsSourceDetails.Builder

This builder for chaining.

clearInventoryTagList()

public AwsSourceDetails.Builder clearInventoryTagList()

AWS resource tags to limit the scope of the source inventory.

repeated .google.cloud.vmmigration.v1.AwsSourceDetails.Tag inventory_tag_list = 10;

Returns
Type Description
AwsSourceDetails.Builder

clearMigrationResourcesUserTags()

public AwsSourceDetails.Builder clearMigrationResourcesUserTags()
Returns
Type Description
AwsSourceDetails.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public AwsSourceDetails.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
AwsSourceDetails.Builder
Overrides

clearPublicIp()

public AwsSourceDetails.Builder clearPublicIp()

Output only. The source's public IP. All communication initiated by this source will originate from this IP.

string public_ip = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
AwsSourceDetails.Builder

This builder for chaining.

clearState()

public AwsSourceDetails.Builder clearState()

Output only. State of the source as determined by the health check.

.google.cloud.vmmigration.v1.AwsSourceDetails.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
AwsSourceDetails.Builder

This builder for chaining.

clone()

public AwsSourceDetails.Builder clone()
Returns
Type Description
AwsSourceDetails.Builder
Overrides

containsMigrationResourcesUserTags(String key)

public boolean containsMigrationResourcesUserTags(String key)

User specified tags to add to every M2VM generated resource in AWS. These tags will be set in addition to the default tags that are set as part of the migration process. The tags must not begin with the reserved prefix m2vm.

map<string, string> migration_resources_user_tags = 8;

Parameter
Name Description
key String
Returns
Type Description
boolean

getAccessKeyCreds()

public AwsSourceDetails.AccessKeyCredentials getAccessKeyCreds()

AWS Credentials using access key id and secret.

.google.cloud.vmmigration.v1.AwsSourceDetails.AccessKeyCredentials access_key_creds = 11;

Returns
Type Description
AwsSourceDetails.AccessKeyCredentials

The accessKeyCreds.

getAccessKeyCredsBuilder()

public AwsSourceDetails.AccessKeyCredentials.Builder getAccessKeyCredsBuilder()

AWS Credentials using access key id and secret.

.google.cloud.vmmigration.v1.AwsSourceDetails.AccessKeyCredentials access_key_creds = 11;

Returns
Type Description
AwsSourceDetails.AccessKeyCredentials.Builder

getAccessKeyCredsOrBuilder()

public AwsSourceDetails.AccessKeyCredentialsOrBuilder getAccessKeyCredsOrBuilder()

AWS Credentials using access key id and secret.

.google.cloud.vmmigration.v1.AwsSourceDetails.AccessKeyCredentials access_key_creds = 11;

Returns
Type Description
AwsSourceDetails.AccessKeyCredentialsOrBuilder

getAwsRegion()

public String getAwsRegion()

Immutable. The AWS region that the source VMs will be migrated from.

string aws_region = 3 [(.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
String

The awsRegion.

getAwsRegionBytes()

public ByteString getAwsRegionBytes()

Immutable. The AWS region that the source VMs will be migrated from.

string aws_region = 3 [(.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
ByteString

The bytes for awsRegion.

getCredentialsTypeCase()

public AwsSourceDetails.CredentialsTypeCase getCredentialsTypeCase()
Returns
Type Description
AwsSourceDetails.CredentialsTypeCase

getDefaultInstanceForType()

public AwsSourceDetails getDefaultInstanceForType()
Returns
Type Description
AwsSourceDetails

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getError()

public Status getError()

Output only. Provides details on the state of the Source in case of an error.

.google.rpc.Status error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
com.google.rpc.Status

The error.

getErrorBuilder()

public Status.Builder getErrorBuilder()

Output only. Provides details on the state of the Source in case of an error.

.google.rpc.Status error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
com.google.rpc.Status.Builder

getErrorOrBuilder()

public StatusOrBuilder getErrorOrBuilder()

Output only. Provides details on the state of the Source in case of an error.

.google.rpc.Status error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
com.google.rpc.StatusOrBuilder

getInventorySecurityGroupNames(int index)

public String getInventorySecurityGroupNames(int index)

AWS security group names to limit the scope of the source inventory.

repeated string inventory_security_group_names = 7;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The inventorySecurityGroupNames at the given index.

getInventorySecurityGroupNamesBytes(int index)

public ByteString getInventorySecurityGroupNamesBytes(int index)

AWS security group names to limit the scope of the source inventory.

repeated string inventory_security_group_names = 7;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the inventorySecurityGroupNames at the given index.

getInventorySecurityGroupNamesCount()

public int getInventorySecurityGroupNamesCount()

AWS security group names to limit the scope of the source inventory.

repeated string inventory_security_group_names = 7;

Returns
Type Description
int

The count of inventorySecurityGroupNames.

getInventorySecurityGroupNamesList()

public ProtocolStringList getInventorySecurityGroupNamesList()

AWS security group names to limit the scope of the source inventory.

repeated string inventory_security_group_names = 7;

Returns
Type Description
ProtocolStringList

A list containing the inventorySecurityGroupNames.

getInventoryTagList(int index)

public AwsSourceDetails.Tag getInventoryTagList(int index)

AWS resource tags to limit the scope of the source inventory.

repeated .google.cloud.vmmigration.v1.AwsSourceDetails.Tag inventory_tag_list = 10;

Parameter
Name Description
index int
Returns
Type Description
AwsSourceDetails.Tag

getInventoryTagListBuilder(int index)

public AwsSourceDetails.Tag.Builder getInventoryTagListBuilder(int index)

AWS resource tags to limit the scope of the source inventory.

repeated .google.cloud.vmmigration.v1.AwsSourceDetails.Tag inventory_tag_list = 10;

Parameter
Name Description
index int
Returns
Type Description
AwsSourceDetails.Tag.Builder

getInventoryTagListBuilderList()

public List<AwsSourceDetails.Tag.Builder> getInventoryTagListBuilderList()

AWS resource tags to limit the scope of the source inventory.

repeated .google.cloud.vmmigration.v1.AwsSourceDetails.Tag inventory_tag_list = 10;

Returns
Type Description
List<Builder>

getInventoryTagListCount()

public int getInventoryTagListCount()

AWS resource tags to limit the scope of the source inventory.

repeated .google.cloud.vmmigration.v1.AwsSourceDetails.Tag inventory_tag_list = 10;

Returns
Type Description
int

getInventoryTagListList()

public List<AwsSourceDetails.Tag> getInventoryTagListList()

AWS resource tags to limit the scope of the source inventory.

repeated .google.cloud.vmmigration.v1.AwsSourceDetails.Tag inventory_tag_list = 10;

Returns
Type Description
List<Tag>

getInventoryTagListOrBuilder(int index)

public AwsSourceDetails.TagOrBuilder getInventoryTagListOrBuilder(int index)

AWS resource tags to limit the scope of the source inventory.

repeated .google.cloud.vmmigration.v1.AwsSourceDetails.Tag inventory_tag_list = 10;

Parameter
Name Description
index int
Returns
Type Description
AwsSourceDetails.TagOrBuilder

getInventoryTagListOrBuilderList()

public List<? extends AwsSourceDetails.TagOrBuilder> getInventoryTagListOrBuilderList()

AWS resource tags to limit the scope of the source inventory.

repeated .google.cloud.vmmigration.v1.AwsSourceDetails.Tag inventory_tag_list = 10;

Returns
Type Description
List<? extends com.google.cloud.vmmigration.v1.AwsSourceDetails.TagOrBuilder>

getMigrationResourcesUserTags() (deprecated)

public Map<String,String> getMigrationResourcesUserTags()
Returns
Type Description
Map<String,String>

getMigrationResourcesUserTagsCount()

public int getMigrationResourcesUserTagsCount()

User specified tags to add to every M2VM generated resource in AWS. These tags will be set in addition to the default tags that are set as part of the migration process. The tags must not begin with the reserved prefix m2vm.

map<string, string> migration_resources_user_tags = 8;

Returns
Type Description
int

getMigrationResourcesUserTagsMap()

public Map<String,String> getMigrationResourcesUserTagsMap()

User specified tags to add to every M2VM generated resource in AWS. These tags will be set in addition to the default tags that are set as part of the migration process. The tags must not begin with the reserved prefix m2vm.

map<string, string> migration_resources_user_tags = 8;

Returns
Type Description
Map<String,String>

getMigrationResourcesUserTagsOrDefault(String key, String defaultValue)

public String getMigrationResourcesUserTagsOrDefault(String key, String defaultValue)

User specified tags to add to every M2VM generated resource in AWS. These tags will be set in addition to the default tags that are set as part of the migration process. The tags must not begin with the reserved prefix m2vm.

map<string, string> migration_resources_user_tags = 8;

Parameters
Name Description
key String
defaultValue String
Returns
Type Description
String

getMigrationResourcesUserTagsOrThrow(String key)

public String getMigrationResourcesUserTagsOrThrow(String key)

User specified tags to add to every M2VM generated resource in AWS. These tags will be set in addition to the default tags that are set as part of the migration process. The tags must not begin with the reserved prefix m2vm.

map<string, string> migration_resources_user_tags = 8;

Parameter
Name Description
key String
Returns
Type Description
String

getMutableMigrationResourcesUserTags() (deprecated)

public Map<String,String> getMutableMigrationResourcesUserTags()

Use alternate mutation accessors instead.

Returns
Type Description
Map<String,String>

getPublicIp()

public String getPublicIp()

Output only. The source's public IP. All communication initiated by this source will originate from this IP.

string public_ip = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The publicIp.

getPublicIpBytes()

public ByteString getPublicIpBytes()

Output only. The source's public IP. All communication initiated by this source will originate from this IP.

string public_ip = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for publicIp.

getState()

public AwsSourceDetails.State getState()

Output only. State of the source as determined by the health check.

.google.cloud.vmmigration.v1.AwsSourceDetails.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
AwsSourceDetails.State

The state.

getStateValue()

public int getStateValue()

Output only. State of the source as determined by the health check.

.google.cloud.vmmigration.v1.AwsSourceDetails.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for state.

hasAccessKeyCreds()

public boolean hasAccessKeyCreds()

AWS Credentials using access key id and secret.

.google.cloud.vmmigration.v1.AwsSourceDetails.AccessKeyCredentials access_key_creds = 11;

Returns
Type Description
boolean

Whether the accessKeyCreds field is set.

hasError()

public boolean hasError()

Output only. Provides details on the state of the Source in case of an error.

.google.rpc.Status error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the error field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

internalGetMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)

internalGetMutableMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeAccessKeyCreds(AwsSourceDetails.AccessKeyCredentials value)

public AwsSourceDetails.Builder mergeAccessKeyCreds(AwsSourceDetails.AccessKeyCredentials value)

AWS Credentials using access key id and secret.

.google.cloud.vmmigration.v1.AwsSourceDetails.AccessKeyCredentials access_key_creds = 11;

Parameter
Name Description
value AwsSourceDetails.AccessKeyCredentials
Returns
Type Description
AwsSourceDetails.Builder

mergeError(Status value)

public AwsSourceDetails.Builder mergeError(Status value)

Output only. Provides details on the state of the Source in case of an error.

.google.rpc.Status error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value com.google.rpc.Status
Returns
Type Description
AwsSourceDetails.Builder

mergeFrom(AwsSourceDetails other)

public AwsSourceDetails.Builder mergeFrom(AwsSourceDetails other)
Parameter
Name Description
other AwsSourceDetails
Returns
Type Description
AwsSourceDetails.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public AwsSourceDetails.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AwsSourceDetails.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public AwsSourceDetails.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
AwsSourceDetails.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AwsSourceDetails.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
AwsSourceDetails.Builder
Overrides

putAllMigrationResourcesUserTags(Map<String,String> values)

public AwsSourceDetails.Builder putAllMigrationResourcesUserTags(Map<String,String> values)

User specified tags to add to every M2VM generated resource in AWS. These tags will be set in addition to the default tags that are set as part of the migration process. The tags must not begin with the reserved prefix m2vm.

map<string, string> migration_resources_user_tags = 8;

Parameter
Name Description
values Map<String,String>
Returns
Type Description
AwsSourceDetails.Builder

putMigrationResourcesUserTags(String key, String value)

public AwsSourceDetails.Builder putMigrationResourcesUserTags(String key, String value)

User specified tags to add to every M2VM generated resource in AWS. These tags will be set in addition to the default tags that are set as part of the migration process. The tags must not begin with the reserved prefix m2vm.

map<string, string> migration_resources_user_tags = 8;

Parameters
Name Description
key String
value String
Returns
Type Description
AwsSourceDetails.Builder

removeInventoryTagList(int index)

public AwsSourceDetails.Builder removeInventoryTagList(int index)

AWS resource tags to limit the scope of the source inventory.

repeated .google.cloud.vmmigration.v1.AwsSourceDetails.Tag inventory_tag_list = 10;

Parameter
Name Description
index int
Returns
Type Description
AwsSourceDetails.Builder

removeMigrationResourcesUserTags(String key)

public AwsSourceDetails.Builder removeMigrationResourcesUserTags(String key)

User specified tags to add to every M2VM generated resource in AWS. These tags will be set in addition to the default tags that are set as part of the migration process. The tags must not begin with the reserved prefix m2vm.

map<string, string> migration_resources_user_tags = 8;

Parameter
Name Description
key String
Returns
Type Description
AwsSourceDetails.Builder

setAccessKeyCreds(AwsSourceDetails.AccessKeyCredentials value)

public AwsSourceDetails.Builder setAccessKeyCreds(AwsSourceDetails.AccessKeyCredentials value)

AWS Credentials using access key id and secret.

.google.cloud.vmmigration.v1.AwsSourceDetails.AccessKeyCredentials access_key_creds = 11;

Parameter
Name Description
value AwsSourceDetails.AccessKeyCredentials
Returns
Type Description
AwsSourceDetails.Builder

setAccessKeyCreds(AwsSourceDetails.AccessKeyCredentials.Builder builderForValue)

public AwsSourceDetails.Builder setAccessKeyCreds(AwsSourceDetails.AccessKeyCredentials.Builder builderForValue)

AWS Credentials using access key id and secret.

.google.cloud.vmmigration.v1.AwsSourceDetails.AccessKeyCredentials access_key_creds = 11;

Parameter
Name Description
builderForValue AwsSourceDetails.AccessKeyCredentials.Builder
Returns
Type Description
AwsSourceDetails.Builder

setAwsRegion(String value)

public AwsSourceDetails.Builder setAwsRegion(String value)

Immutable. The AWS region that the source VMs will be migrated from.

string aws_region = 3 [(.google.api.field_behavior) = IMMUTABLE];

Parameter
Name Description
value String

The awsRegion to set.

Returns
Type Description
AwsSourceDetails.Builder

This builder for chaining.

setAwsRegionBytes(ByteString value)

public AwsSourceDetails.Builder setAwsRegionBytes(ByteString value)

Immutable. The AWS region that the source VMs will be migrated from.

string aws_region = 3 [(.google.api.field_behavior) = IMMUTABLE];

Parameter
Name Description
value ByteString

The bytes for awsRegion to set.

Returns
Type Description
AwsSourceDetails.Builder

This builder for chaining.

setError(Status value)

public AwsSourceDetails.Builder setError(Status value)

Output only. Provides details on the state of the Source in case of an error.

.google.rpc.Status error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value com.google.rpc.Status
Returns
Type Description
AwsSourceDetails.Builder

setError(Status.Builder builderForValue)

public AwsSourceDetails.Builder setError(Status.Builder builderForValue)

Output only. Provides details on the state of the Source in case of an error.

.google.rpc.Status error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue com.google.rpc.Status.Builder
Returns
Type Description
AwsSourceDetails.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public AwsSourceDetails.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
AwsSourceDetails.Builder
Overrides

setInventorySecurityGroupNames(int index, String value)

public AwsSourceDetails.Builder setInventorySecurityGroupNames(int index, String value)

AWS security group names to limit the scope of the source inventory.

repeated string inventory_security_group_names = 7;

Parameters
Name Description
index int

The index to set the value at.

value String

The inventorySecurityGroupNames to set.

Returns
Type Description
AwsSourceDetails.Builder

This builder for chaining.

setInventoryTagList(int index, AwsSourceDetails.Tag value)

public AwsSourceDetails.Builder setInventoryTagList(int index, AwsSourceDetails.Tag value)

AWS resource tags to limit the scope of the source inventory.

repeated .google.cloud.vmmigration.v1.AwsSourceDetails.Tag inventory_tag_list = 10;

Parameters
Name Description
index int
value AwsSourceDetails.Tag
Returns
Type Description
AwsSourceDetails.Builder

setInventoryTagList(int index, AwsSourceDetails.Tag.Builder builderForValue)

public AwsSourceDetails.Builder setInventoryTagList(int index, AwsSourceDetails.Tag.Builder builderForValue)

AWS resource tags to limit the scope of the source inventory.

repeated .google.cloud.vmmigration.v1.AwsSourceDetails.Tag inventory_tag_list = 10;

Parameters
Name Description
index int
builderForValue AwsSourceDetails.Tag.Builder
Returns
Type Description
AwsSourceDetails.Builder

setPublicIp(String value)

public AwsSourceDetails.Builder setPublicIp(String value)

Output only. The source's public IP. All communication initiated by this source will originate from this IP.

string public_ip = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The publicIp to set.

Returns
Type Description
AwsSourceDetails.Builder

This builder for chaining.

setPublicIpBytes(ByteString value)

public AwsSourceDetails.Builder setPublicIpBytes(ByteString value)

Output only. The source's public IP. All communication initiated by this source will originate from this IP.

string public_ip = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for publicIp to set.

Returns
Type Description
AwsSourceDetails.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public AwsSourceDetails.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
AwsSourceDetails.Builder
Overrides

setState(AwsSourceDetails.State value)

public AwsSourceDetails.Builder setState(AwsSourceDetails.State value)

Output only. State of the source as determined by the health check.

.google.cloud.vmmigration.v1.AwsSourceDetails.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value AwsSourceDetails.State

The state to set.

Returns
Type Description
AwsSourceDetails.Builder

This builder for chaining.

setStateValue(int value)

public AwsSourceDetails.Builder setStateValue(int value)

Output only. State of the source as determined by the health check.

.google.cloud.vmmigration.v1.AwsSourceDetails.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value int

The enum numeric value on the wire for state to set.

Returns
Type Description
AwsSourceDetails.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final AwsSourceDetails.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
AwsSourceDetails.Builder
Overrides