@Generated(value="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.
Modifier and Type | Class and Description |
---|---|
static interface |
Project.Builder |
Modifier and Type | Method and 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.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public final String projectArn()
The Amazon Resource Name (ARN) of the project.
public final String projectName()
The name of the project.
public final String projectId()
The ID of the project.
public final String projectDescription()
The description of the project.
public final ServiceCatalogProvisioningDetails serviceCatalogProvisioningDetails()
public final ServiceCatalogProvisionedProductDetails serviceCatalogProvisionedProductDetails()
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 return ProjectStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
projectStatusAsString()
.
ProjectStatus
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 return ProjectStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
projectStatusAsString()
.
ProjectStatus
public final UserContext createdBy()
Who created the project.
public final Instant creationTime()
A timestamp specifying when the project was created.
public final boolean hasTags()
isEmpty()
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.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.
public final Instant lastModifiedTime()
A timestamp container for when the project was last modified.
public final UserContext lastModifiedBy()
public Project.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<Project.Builder,Project>
public static Project.Builder builder()
public static Class<? extends Project.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public final String toString()
Copyright © 2023. All rights reserved.