Class CreateTagOptions
- java.lang.Object
-
- com.ibm.cloud.sdk.core.service.model.GenericModel
-
- com.ibm.cloud.platform_services.global_tagging.v1.model.CreateTagOptions
-
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class CreateTagOptions extends com.ibm.cloud.sdk.core.service.model.GenericModelThe createTag options.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCreateTagOptions.BuilderBuilder.static interfaceCreateTagOptions.TagTypeThe type of the tags you want to create.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringaccountId()Gets the accountId.CreateTagOptions.BuildernewBuilder()New builder.java.util.List<java.lang.String>tagNames()Gets the tagNames.java.lang.StringtagType()Gets the tagType.java.lang.StringxCorrelationId()Gets the xCorrelationId.java.lang.StringxRequestId()Gets the xRequestId.
-
-
-
Method Detail
-
newBuilder
public CreateTagOptions.Builder newBuilder()
New builder.- Returns:
- a CreateTagOptions builder
-
tagNames
public java.util.List<java.lang.String> tagNames()
Gets the tagNames. An array of tag names to create.- Returns:
- the tagNames
-
xRequestId
public java.lang.String xRequestId()
Gets the xRequestId. An alphanumeric string that is used to trace the request. The value may include ASCII alphanumerics and any of following segment separators: space ( ), comma (,), hyphen, (-), and underscore (_) and may have a length up to 1024 bytes. The value is considered invalid and must be ignored if that value includes any other character or is longer than 1024 bytes or is fewer than 8 characters. If not specified or invalid, it is automatically replaced by a random (version 4) UUID.- Returns:
- the xRequestId
-
xCorrelationId
public java.lang.String xCorrelationId()
Gets the xCorrelationId. An alphanumeric string that is used to trace the request as a part of a larger context: the same value is used for downstream requests and retries of those requests. The value may include ASCII alphanumerics and any of following segment separators: space ( ), comma (,), hyphen, (-), and underscore (_) and may have a length up to 1024 bytes. The value is considered invalid and must be ignored if that value includes any other character or is longer than 1024 bytes or is fewer than 8 characters. If not specified or invalid, it is automatically replaced by a random (version 4) UUID.- Returns:
- the xCorrelationId
-
accountId
public java.lang.String accountId()
Gets the accountId. The ID of the billing account where the tag must be created.- Returns:
- the accountId
-
tagType
public java.lang.String tagType()
Gets the tagType. The type of the tags you want to create. The only allowed value is `access`.- Returns:
- the tagType
-
-