Class AwsSourceDetails.Builder (1.41.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
TypeDescription
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
NameDescription
valuesIterable<String>

The inventorySecurityGroupNames to add.

Returns
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.vmmigration.v1.AwsSourceDetails.Tag>
Returns
TypeDescription
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
NameDescription
valueString

The inventorySecurityGroupNames to add.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes of the inventorySecurityGroupNames to add.

Returns
TypeDescription
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
NameDescription
valueAwsSourceDetails.Tag
Returns
TypeDescription
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
NameDescription
builderForValueAwsSourceDetails.Tag.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueAwsSourceDetails.Tag
Returns
TypeDescription
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
NameDescription
indexint
builderForValueAwsSourceDetails.Tag.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
AwsSourceDetails.Tag.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public AwsSourceDetails.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
AwsSourceDetails.Builder
Overrides

build()

public AwsSourceDetails build()
Returns
TypeDescription
AwsSourceDetails

buildPartial()

public AwsSourceDetails buildPartial()
Returns
TypeDescription
AwsSourceDetails

clear()

public AwsSourceDetails.Builder clear()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
AwsSourceDetails.Builder

This builder for chaining.

clearCredentialsType()

public AwsSourceDetails.Builder clearCredentialsType()
Returns
TypeDescription
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
TypeDescription
AwsSourceDetails.Builder

clearField(Descriptors.FieldDescriptor field)

public AwsSourceDetails.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
AwsSourceDetails.Builder

clearMigrationResourcesUserTags()

public AwsSourceDetails.Builder clearMigrationResourcesUserTags()
Returns
TypeDescription
AwsSourceDetails.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public AwsSourceDetails.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
AwsSourceDetails.Builder

This builder for chaining.

clone()

public AwsSourceDetails.Builder clone()
Returns
TypeDescription
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
NameDescription
keyString
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for awsRegion.

getCredentialsTypeCase()

public AwsSourceDetails.CredentialsTypeCase getCredentialsTypeCase()
Returns
TypeDescription
AwsSourceDetails.CredentialsTypeCase

getDefaultInstanceForType()

public AwsSourceDetails getDefaultInstanceForType()
Returns
TypeDescription
AwsSourceDetails

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.cloud.vmmigration.v1.AwsSourceDetails.TagOrBuilder>

getMigrationResourcesUserTags() (deprecated)

public Map<String,String> getMigrationResourcesUserTags()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
keyString
defaultValueString
Returns
TypeDescription
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
NameDescription
keyString
Returns
TypeDescription
String

getMutableMigrationResourcesUserTags() (deprecated)

public Map<String,String> getMutableMigrationResourcesUserTags()

Use alternate mutation accessors instead.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the error field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

internalGetMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter
NameDescription
numberint
Returns
TypeDescription
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)

internalGetMutableMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
Parameter
NameDescription
numberint
Returns
TypeDescription
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueAwsSourceDetails.AccessKeyCredentials
Returns
TypeDescription
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
NameDescription
valuecom.google.rpc.Status
Returns
TypeDescription
AwsSourceDetails.Builder

mergeFrom(AwsSourceDetails other)

public AwsSourceDetails.Builder mergeFrom(AwsSourceDetails other)
Parameter
NameDescription
otherAwsSourceDetails
Returns
TypeDescription
AwsSourceDetails.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public AwsSourceDetails.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AwsSourceDetails.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public AwsSourceDetails.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
AwsSourceDetails.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AwsSourceDetails.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valuesMap<String,String>
Returns
TypeDescription
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
NameDescription
keyString
valueString
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
keyString
Returns
TypeDescription
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
NameDescription
valueAwsSourceDetails.AccessKeyCredentials
Returns
TypeDescription
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
NameDescription
builderForValueAwsSourceDetails.AccessKeyCredentials.Builder
Returns
TypeDescription
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
NameDescription
valueString

The awsRegion to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for awsRegion to set.

Returns
TypeDescription
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
NameDescription
valuecom.google.rpc.Status
Returns
TypeDescription
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
NameDescription
builderForValuecom.google.rpc.Status.Builder
Returns
TypeDescription
AwsSourceDetails.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public AwsSourceDetails.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
indexint

The index to set the value at.

valueString

The inventorySecurityGroupNames to set.

Returns
TypeDescription
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
NameDescription
indexint
valueAwsSourceDetails.Tag
Returns
TypeDescription
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
NameDescription
indexint
builderForValueAwsSourceDetails.Tag.Builder
Returns
TypeDescription
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
NameDescription
valueString

The publicIp to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for publicIp to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueAwsSourceDetails.State

The state to set.

Returns
TypeDescription
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
NameDescription
valueint

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

Returns
TypeDescription
AwsSourceDetails.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final AwsSourceDetails.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
AwsSourceDetails.Builder
Overrides