/** * Sets the value of the 'latestKeySchema' field. * * Latest Key Schema * @param value The value of 'latestKeySchema'. * @return This builder. */ public com.homeaway.digitalplatform.streamregistry.AvroStream.Builder setLatestKeySchema(com.homeaway.digitalplatform.streamregistry.Schema value) { validate(fields()[2], value); this.latestKeySchemaBuilder = null; this.latestKeySchema = value; fieldSetFlags()[2] = true; return this; }
/** * Sets the value of the 'latestValueSchema' field. * * Latest Value Schema * @param value The value of 'latestValueSchema'. * @return This builder. */ public com.homeaway.digitalplatform.streamregistry.AvroStream.Builder setLatestValueSchema(com.homeaway.digitalplatform.streamregistry.Schema value) { validate(fields()[3], value); this.latestValueSchemaBuilder = null; this.latestValueSchema = value; fieldSetFlags()[3] = true; return this; }
/** * Sets the value of the 'tags' field. * * Tags for the app. * @param value The value of 'tags'. * @return This builder. */ public com.homeaway.digitalplatform.streamregistry.AvroStream.Builder setTags(com.homeaway.digitalplatform.streamregistry.Tags value) { validate(fields()[8], value); this.tagsBuilder = null; this.tags = value; fieldSetFlags()[8] = true; return this; }
/** * Sets the value of the 'topicConfig' field. * * Topic Configuration * @param value The value of 'topicConfig'. * @return This builder. */ public com.homeaway.digitalplatform.streamregistry.AvroStream.Builder setTopicConfig(java.util.Map<java.lang.String,java.lang.String> value) { validate(fields()[18], value); this.topicConfig = value; fieldSetFlags()[18] = true; return this; }
/** * Sets the value of the 'vpcList' field. * * List of Regions the stream live in * @param value The value of 'vpcList'. * @return This builder. */ public com.homeaway.digitalplatform.streamregistry.AvroStream.Builder setVpcList(java.util.List<java.lang.String> value) { validate(fields()[16], value); this.vpcList = value; fieldSetFlags()[16] = true; return this; }
/** * Sets the value of the 's3ConnectorList' field. * * S3Connector list with status * @param value The value of 's3ConnectorList'. * @return This builder. */ public com.homeaway.digitalplatform.streamregistry.AvroStream.Builder setS3ConnectorList(java.util.List<com.homeaway.digitalplatform.streamregistry.S3Connector> value) { validate(fields()[14], value); this.s3ConnectorList = value; fieldSetFlags()[14] = true; return this; }
/** * Sets the value of the 'producers' field. * * Producers * @param value The value of 'producers'. * @return This builder. */ public com.homeaway.digitalplatform.streamregistry.AvroStream.Builder setProducers(java.util.List<com.homeaway.digitalplatform.streamregistry.Producer> value) { validate(fields()[9], value); this.producers = value; fieldSetFlags()[9] = true; return this; }
/** * Sets the value of the 'updated' field. * * Updated Time in millis from epoch * @param value The value of 'updated'. * @return This builder. */ public com.homeaway.digitalplatform.streamregistry.AvroStream.Builder setUpdated(long value) { validate(fields()[6], value); this.updated = value; fieldSetFlags()[6] = true; return this; }
/** * Sets the value of the 'replicationFactor' field. * * Replication Factor * @param value The value of 'replicationFactor'. * @return This builder. */ public com.homeaway.digitalplatform.streamregistry.AvroStream.Builder setReplicationFactor(int value) { validate(fields()[20], value); this.replicationFactor = value; fieldSetFlags()[20] = true; return this; }
/** * Sets the value of the 'isDataNeededAtRest' field. * * Is Data Needed At Rest? Example: Kafka Connect S3 * @param value The value of 'isDataNeededAtRest'. * @return This builder. */ public com.homeaway.digitalplatform.streamregistry.AvroStream.Builder setIsDataNeededAtRest(boolean value) { validate(fields()[11], value); this.isDataNeededAtRest = value; fieldSetFlags()[11] = true; return this; }
/** * Sets the value of the 'consumers' field. * * Consumers * @param value The value of 'consumers'. * @return This builder. */ public com.homeaway.digitalplatform.streamregistry.AvroStream.Builder setConsumers(java.util.List<com.homeaway.digitalplatform.streamregistry.Consumer> value) { validate(fields()[10], value); this.consumers = value; fieldSetFlags()[10] = true; return this; }
/** * Sets the value of the 'githubUrl' field. * * GitHub URL of the generated stream-lib artifact * @param value The value of 'githubUrl'. * @return This builder. */ public com.homeaway.digitalplatform.streamregistry.AvroStream.Builder setGithubUrl(java.lang.String value) { validate(fields()[7], value); this.githubUrl = value; fieldSetFlags()[7] = true; return this; }
/** * Sets the value of the 'schemaCompatibility' field. * * Schema Compatibility - Default is transitive_full. * @param value The value of 'schemaCompatibility'. * @return This builder. */ public com.homeaway.digitalplatform.streamregistry.AvroStream.Builder setSchemaCompatibility(com.homeaway.digitalplatform.streamregistry.SchemaCompatibility value) { validate(fields()[1], value); this.schemaCompatibility = value; fieldSetFlags()[1] = true; return this; }
/** * Sets the value of the 'regionReplicatorList' field. * * Region Replicator List with status * @param value The value of 'regionReplicatorList'. * @return This builder. */ public com.homeaway.digitalplatform.streamregistry.AvroStream.Builder setRegionReplicatorList(java.util.List<com.homeaway.digitalplatform.streamregistry.RegionReplicator> value) { validate(fields()[13], value); this.regionReplicatorList = value; fieldSetFlags()[13] = true; return this; }
/** * Sets the value of the 'created' field. * * Created Time in millis from epoch * @param value The value of 'created'. * @return This builder. */ public com.homeaway.digitalplatform.streamregistry.AvroStream.Builder setCreated(long value) { validate(fields()[5], value); this.created = value; fieldSetFlags()[5] = true; return this; }
/** * Sets the value of the 'replicatedVpcList' field. * * List of Regions to which the stream will be replicated automatically * @param value The value of 'replicatedVpcList'. * @return This builder. */ public com.homeaway.digitalplatform.streamregistry.AvroStream.Builder setReplicatedVpcList(java.util.List<java.lang.String> value) { validate(fields()[17], value); this.replicatedVpcList = value; fieldSetFlags()[17] = true; return this; }
/** * Sets the value of the 'operationType' field. * * Operation Type * @param value The value of 'operationType'. * @return This builder. */ public com.homeaway.digitalplatform.streamregistry.AvroStream.Builder setOperationType(com.homeaway.digitalplatform.streamregistry.OperationType value) { validate(fields()[15], value); this.operationType = value; fieldSetFlags()[15] = true; return this; }
/** * Sets the value of the 'isAutomationNeeded' field. * * Is Automation Needed? Example: Does Mirror Maker need to be deployed * @param value The value of 'isAutomationNeeded'. * @return This builder. */ public com.homeaway.digitalplatform.streamregistry.AvroStream.Builder setIsAutomationNeeded(boolean value) { validate(fields()[12], value); this.isAutomationNeeded = value; fieldSetFlags()[12] = true; return this; }
/** * Sets the value of the 'partitions' field. * * Number of Partitions * @param value The value of 'partitions'. * @return This builder. */ public com.homeaway.digitalplatform.streamregistry.AvroStream.Builder setPartitions(int value) { validate(fields()[19], value); this.partitions = value; fieldSetFlags()[19] = true; return this; }
/** * Sets the value of the 'owner' field. * * Email of owner that owns the stream * @param value The value of 'owner'. * @return This builder. */ public com.homeaway.digitalplatform.streamregistry.AvroStream.Builder setOwner(java.lang.String value) { validate(fields()[4], value); this.owner = value; fieldSetFlags()[4] = true; return this; }