Class ExternalResource.Builder
-
- All Implemented Interfaces:
public final class ExternalResource.BuilderA builder for ExternalResource.
-
-
Method Summary
-
-
Method Detail
-
externalResourceToken
final ExternalResource.Builder externalResourceToken(String externalResourceToken)
Token identifying the external resource
-
externalResourceToken
final ExternalResource.Builder externalResourceToken(JsonField<String> externalResourceToken)
Sets Builder.externalResourceToken to an arbitrary JSON value.
You should usually call Builder.externalResourceToken with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
externalResourceType
final ExternalResource.Builder externalResourceType(ExternalResourceType externalResourceType)
Type of external resource associated with the management operation
-
externalResourceType
final ExternalResource.Builder externalResourceType(JsonField<ExternalResourceType> externalResourceType)
Sets Builder.externalResourceType to an arbitrary JSON value.
You should usually call Builder.externalResourceType with a well-typed ExternalResourceType value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
externalResourceSubToken
final ExternalResource.Builder externalResourceSubToken(String externalResourceSubToken)
Token identifying the external resource sub-resource
-
externalResourceSubToken
final ExternalResource.Builder externalResourceSubToken(JsonField<String> externalResourceSubToken)
Sets Builder.externalResourceSubToken to an arbitrary JSON value.
You should usually call Builder.externalResourceSubToken with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final ExternalResource.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final ExternalResource.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final ExternalResource.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final ExternalResource.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final ExternalResource.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final ExternalResource build()
Returns an immutable instance of ExternalResource.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.externalResourceToken() .externalResourceType()
-
-
-
-