Class Project
- java.lang.Object
-
- software.amazon.awssdk.services.sagemaker.model.Project
-
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<Project.Builder,Project>
@Generated("software.amazon.awssdk:codegen") public final class Project extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Project.Builder,Project>
The properties of a project as returned by the Search API.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
Project.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Project.Builder
builder()
UserContext
createdBy()
Who created the project.Instant
creationTime()
A timestamp specifying when the project was created.boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
boolean
hasTags()
For responses, this returns true if the service returned a value for the Tags property.UserContext
lastModifiedBy()
Returns the value of the LastModifiedBy property for this object.Instant
lastModifiedTime()
A timestamp container for when the project was last modified.String
projectArn()
The Amazon Resource Name (ARN) of the project.String
projectDescription()
The description of the project.String
projectId()
The ID of the project.String
projectName()
The name of the project.ProjectStatus
projectStatus()
The status of the project.String
projectStatusAsString()
The status of the project.List<SdkField<?>>
sdkFields()
static Class<? extends Project.Builder>
serializableBuilderClass()
ServiceCatalogProvisionedProductDetails
serviceCatalogProvisionedProductDetails()
Returns the value of the ServiceCatalogProvisionedProductDetails property for this object.ServiceCatalogProvisioningDetails
serviceCatalogProvisioningDetails()
Returns the value of the ServiceCatalogProvisioningDetails property for this object.List<Tag>
tags()
An array of key-value pairs.Project.Builder
toBuilder()
String
toString()
Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
projectArn
public final String projectArn()
The Amazon Resource Name (ARN) of the project.
- Returns:
- The Amazon Resource Name (ARN) of the project.
-
projectName
public final String projectName()
The name of the project.
- Returns:
- The name of the project.
-
projectId
public final String projectId()
The ID of the project.
- Returns:
- The ID of the project.
-
projectDescription
public final String projectDescription()
The description of the project.
- Returns:
- The description of the project.
-
serviceCatalogProvisioningDetails
public final ServiceCatalogProvisioningDetails serviceCatalogProvisioningDetails()
Returns the value of the ServiceCatalogProvisioningDetails property for this object.- Returns:
- The value of the ServiceCatalogProvisioningDetails property for this object.
-
serviceCatalogProvisionedProductDetails
public final ServiceCatalogProvisionedProductDetails serviceCatalogProvisionedProductDetails()
Returns the value of the ServiceCatalogProvisionedProductDetails property for this object.- Returns:
- The value of the ServiceCatalogProvisionedProductDetails property for this object.
-
projectStatus
public final ProjectStatus projectStatus()
The status of the project.
If the service returns an enum value that is not available in the current SDK version,
projectStatus
will returnProjectStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromprojectStatusAsString()
.- Returns:
- The status of the project.
- See Also:
ProjectStatus
-
projectStatusAsString
public final String projectStatusAsString()
The status of the project.
If the service returns an enum value that is not available in the current SDK version,
projectStatus
will returnProjectStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromprojectStatusAsString()
.- Returns:
- The status of the project.
- See Also:
ProjectStatus
-
createdBy
public final UserContext createdBy()
Who created the project.
- Returns:
- Who created the project.
-
creationTime
public final Instant creationTime()
A timestamp specifying when the project was created.
- Returns:
- A timestamp specifying when the project was created.
-
hasTags
public final boolean hasTags()
For responses, this returns true if the service returned a value for the Tags property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()
method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified.
-
tags
public final List<Tag> tags()
An array of key-value pairs. You can use tags to categorize your Amazon Web Services resources in different ways, for example, by purpose, owner, or environment. For more information, see Tagging Amazon Web Services Resources.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the
hasTags()
method.- Returns:
- An array of key-value pairs. You can use tags to categorize your Amazon Web Services resources in different ways, for example, by purpose, owner, or environment. For more information, see Tagging Amazon Web Services Resources.
-
lastModifiedTime
public final Instant lastModifiedTime()
A timestamp container for when the project was last modified.
- Returns:
- A timestamp container for when the project was last modified.
-
lastModifiedBy
public final UserContext lastModifiedBy()
Returns the value of the LastModifiedBy property for this object.- Returns:
- The value of the LastModifiedBy property for this object.
-
toBuilder
public Project.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<Project.Builder,Project>
-
builder
public static Project.Builder builder()
-
serializableBuilderClass
public static Class<? extends Project.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFields
in interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-