Interface Resource.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<Resource.Builder,,Resource> SdkBuilder<Resource.Builder,,Resource> SdkPojo
- Enclosing class:
Resource
@Mutable
@NotThreadSafe
public static interface Resource.Builder
extends SdkPojo, CopyableBuilder<Resource.Builder,Resource>
-
Method Summary
Modifier and TypeMethodDescriptioncontentType(String contentType) The format of the resource content, such as a URL, email address, or text.contentType(ResourceContentType contentType) The format of the resource content, such as a URL, email address, or text.displayName(String displayName) An optional human-readable label for the resource.resourceType(String resourceType) The category of the resource, such as manufacturer support or usage instructions.resourceType(ResourceType resourceType) The category of the resource, such as manufacturer support or usage instructions.The resource content.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
resourceType
The category of the resource, such as manufacturer support or usage instructions.
- Parameters:
resourceType- The category of the resource, such as manufacturer support or usage instructions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
resourceType
The category of the resource, such as manufacturer support or usage instructions.
- Parameters:
resourceType- The category of the resource, such as manufacturer support or usage instructions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
contentType
The format of the resource content, such as a URL, email address, or text.
- Parameters:
contentType- The format of the resource content, such as a URL, email address, or text.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
contentType
The format of the resource content, such as a URL, email address, or text.
- Parameters:
contentType- The format of the resource content, such as a URL, email address, or text.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
value
The resource content. Interpretation depends on the content type.
- Parameters:
value- The resource content. Interpretation depends on the content type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
displayName
An optional human-readable label for the resource.
- Parameters:
displayName- An optional human-readable label for the resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-