Class DetachTagOptions.Builder
- java.lang.Object
-
- com.ibm.cloud.platform_services.global_tagging.v1.model.DetachTagOptions.Builder
-
- Enclosing class:
- DetachTagOptions
public static class DetachTagOptions.Builder extends java.lang.Object
Builder.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DetachTagOptions.Builder
accountId(java.lang.String accountId)
Set the accountId.DetachTagOptions.Builder
addResources(Resource resources)
Adds a new element to resources.DetachTagOptions.Builder
addTagNames(java.lang.String tagNames)
Adds a new element to tagNames.DetachTagOptions
build()
Builds a DetachTagOptions.DetachTagOptions.Builder
resources(java.util.List<Resource> resources)
Set the resources.DetachTagOptions.Builder
tagName(java.lang.String tagName)
Set the tagName.DetachTagOptions.Builder
tagNames(java.util.List<java.lang.String> tagNames)
Set the tagNames.DetachTagOptions.Builder
tagType(java.lang.String tagType)
Set the tagType.DetachTagOptions.Builder
xCorrelationId(java.lang.String xCorrelationId)
Set the xCorrelationId.DetachTagOptions.Builder
xRequestId(java.lang.String xRequestId)
Set the xRequestId.
-
-
-
Constructor Detail
-
Builder
public Builder()
Instantiates a new builder.
-
Builder
public Builder(java.util.List<Resource> resources)
Instantiates a new builder with required properties.- Parameters:
resources
- the resources
-
-
Method Detail
-
build
public DetachTagOptions build()
Builds a DetachTagOptions.- Returns:
- the new DetachTagOptions instance
-
addResources
public DetachTagOptions.Builder addResources(Resource resources)
Adds a new element to resources.- Parameters:
resources
- the new element to be added- Returns:
- the DetachTagOptions builder
-
addTagNames
public DetachTagOptions.Builder addTagNames(java.lang.String tagNames)
Adds a new element to tagNames.- Parameters:
tagNames
- the new element to be added- Returns:
- the DetachTagOptions builder
-
resources
public DetachTagOptions.Builder resources(java.util.List<Resource> resources)
Set the resources. Existing resources will be replaced.- Parameters:
resources
- the resources- Returns:
- the DetachTagOptions builder
-
tagName
public DetachTagOptions.Builder tagName(java.lang.String tagName)
Set the tagName.- Parameters:
tagName
- the tagName- Returns:
- the DetachTagOptions builder
-
tagNames
public DetachTagOptions.Builder tagNames(java.util.List<java.lang.String> tagNames)
Set the tagNames. Existing tagNames will be replaced.- Parameters:
tagNames
- the tagNames- Returns:
- the DetachTagOptions builder
-
xRequestId
public DetachTagOptions.Builder xRequestId(java.lang.String xRequestId)
Set the xRequestId.- Parameters:
xRequestId
- the xRequestId- Returns:
- the DetachTagOptions builder
-
xCorrelationId
public DetachTagOptions.Builder xCorrelationId(java.lang.String xCorrelationId)
Set the xCorrelationId.- Parameters:
xCorrelationId
- the xCorrelationId- Returns:
- the DetachTagOptions builder
-
accountId
public DetachTagOptions.Builder accountId(java.lang.String accountId)
Set the accountId.- Parameters:
accountId
- the accountId- Returns:
- the DetachTagOptions builder
-
tagType
public DetachTagOptions.Builder tagType(java.lang.String tagType)
Set the tagType.- Parameters:
tagType
- the tagType- Returns:
- the DetachTagOptions builder
-
-