Class FolderState.Builder
- java.lang.Object
-
- com.pulumi.gcp.organizations.inputs.FolderState.Builder
-
- Enclosing class:
- FolderState
public static final class FolderState.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
Builder(FolderState defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FolderState
build()
FolderState.Builder
createTime(com.pulumi.core.Output<java.lang.String> createTime)
FolderState.Builder
createTime(java.lang.String createTime)
FolderState.Builder
displayName(com.pulumi.core.Output<java.lang.String> displayName)
FolderState.Builder
displayName(java.lang.String displayName)
FolderState.Builder
folderId(com.pulumi.core.Output<java.lang.String> folderId)
FolderState.Builder
folderId(java.lang.String folderId)
FolderState.Builder
lifecycleState(com.pulumi.core.Output<java.lang.String> lifecycleState)
FolderState.Builder
lifecycleState(java.lang.String lifecycleState)
FolderState.Builder
name(com.pulumi.core.Output<java.lang.String> name)
FolderState.Builder
name(java.lang.String name)
FolderState.Builder
parent(com.pulumi.core.Output<java.lang.String> parent)
FolderState.Builder
parent(java.lang.String parent)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(FolderState defaults)
-
-
Method Detail
-
createTime
public FolderState.Builder createTime(@Nullable com.pulumi.core.Output<java.lang.String> createTime)
- Parameters:
createTime
- Timestamp when the Folder was created. Assigned by the server. A timestamp in RFC3339 UTC "Zulu" format, accurate to nanoseconds. Example: "2014-10-02T15:01:23.045123456Z".- Returns:
- builder
-
createTime
public FolderState.Builder createTime(java.lang.String createTime)
- Parameters:
createTime
- Timestamp when the Folder was created. Assigned by the server. A timestamp in RFC3339 UTC "Zulu" format, accurate to nanoseconds. Example: "2014-10-02T15:01:23.045123456Z".- Returns:
- builder
-
displayName
public FolderState.Builder displayName(@Nullable com.pulumi.core.Output<java.lang.String> displayName)
- Parameters:
displayName
- The folder’s display name. A folder’s display name must be unique amongst its siblings, e.g. no two folders with the same parent can share the same display name. The display name must start and end with a letter or digit, may contain letters, digits, spaces, hyphens and underscores and can be no longer than 30 characters.- Returns:
- builder
-
displayName
public FolderState.Builder displayName(java.lang.String displayName)
- Parameters:
displayName
- The folder’s display name. A folder’s display name must be unique amongst its siblings, e.g. no two folders with the same parent can share the same display name. The display name must start and end with a letter or digit, may contain letters, digits, spaces, hyphens and underscores and can be no longer than 30 characters.- Returns:
- builder
-
folderId
public FolderState.Builder folderId(@Nullable com.pulumi.core.Output<java.lang.String> folderId)
- Parameters:
folderId
- The folder id from the name "folders/{folder_id}"- Returns:
- builder
-
folderId
public FolderState.Builder folderId(java.lang.String folderId)
- Parameters:
folderId
- The folder id from the name "folders/{folder_id}"- Returns:
- builder
-
lifecycleState
public FolderState.Builder lifecycleState(@Nullable com.pulumi.core.Output<java.lang.String> lifecycleState)
- Parameters:
lifecycleState
- The lifecycle state of the folder such as `ACTIVE` or `DELETE_REQUESTED`.- Returns:
- builder
-
lifecycleState
public FolderState.Builder lifecycleState(java.lang.String lifecycleState)
- Parameters:
lifecycleState
- The lifecycle state of the folder such as `ACTIVE` or `DELETE_REQUESTED`.- Returns:
- builder
-
name
public FolderState.Builder name(@Nullable com.pulumi.core.Output<java.lang.String> name)
- Parameters:
name
- The resource name of the Folder. Its format is folders/{folder_id}.- Returns:
- builder
-
name
public FolderState.Builder name(java.lang.String name)
- Parameters:
name
- The resource name of the Folder. Its format is folders/{folder_id}.- Returns:
- builder
-
parent
public FolderState.Builder parent(@Nullable com.pulumi.core.Output<java.lang.String> parent)
- Parameters:
parent
- The resource name of the parent Folder or Organization. Must be of the form `folders/{folder_id}` or `organizations/{org_id}`.- Returns:
- builder
-
parent
public FolderState.Builder parent(java.lang.String parent)
- Parameters:
parent
- The resource name of the parent Folder or Organization. Must be of the form `folders/{folder_id}` or `organizations/{org_id}`.- Returns:
- builder
-
build
public FolderState build()
-
-