Class UpdatePortfolioShareRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.servicecatalog.model.ServiceCatalogRequest
-
- software.amazon.awssdk.services.servicecatalog.model.UpdatePortfolioShareRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<UpdatePortfolioShareRequest.Builder,UpdatePortfolioShareRequest>
@Generated("software.amazon.awssdk:codegen") public final class UpdatePortfolioShareRequest extends ServiceCatalogRequest implements ToCopyableBuilder<UpdatePortfolioShareRequest.Builder,UpdatePortfolioShareRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceUpdatePortfolioShareRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringacceptLanguage()The language code.StringaccountId()The Amazon Web Services account Id of the recipient account.static UpdatePortfolioShareRequest.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()OrganizationNodeorganizationNode()Returns the value of the OrganizationNode property for this object.StringportfolioId()The unique identifier of the portfolio for which the share will be updated.List<SdkField<?>>sdkFields()static Class<? extends UpdatePortfolioShareRequest.Builder>serializableBuilderClass()BooleansharePrincipals()A flag to enables or disablesPrincipalssharing in the portfolio.BooleanshareTagOptions()Enables or disablesTagOptionssharing for the portfolio share.UpdatePortfolioShareRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
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
-
acceptLanguage
public final String acceptLanguage()
The language code.
-
jp- Japanese -
zh- Chinese
- Returns:
- The language code.
-
jp- Japanese -
zh- Chinese
-
-
-
portfolioId
public final String portfolioId()
The unique identifier of the portfolio for which the share will be updated.
- Returns:
- The unique identifier of the portfolio for which the share will be updated.
-
accountId
public final String accountId()
The Amazon Web Services account Id of the recipient account. This field is required when updating an external account to account type share.
- Returns:
- The Amazon Web Services account Id of the recipient account. This field is required when updating an external account to account type share.
-
organizationNode
public final OrganizationNode organizationNode()
Returns the value of the OrganizationNode property for this object.- Returns:
- The value of the OrganizationNode property for this object.
-
shareTagOptions
public final Boolean shareTagOptions()
Enables or disables
TagOptionssharing for the portfolio share. If this field is not provided, the current state of TagOptions sharing on the portfolio share will not be modified.- Returns:
- Enables or disables
TagOptionssharing for the portfolio share. If this field is not provided, the current state of TagOptions sharing on the portfolio share will not be modified.
-
sharePrincipals
public final Boolean sharePrincipals()
A flag to enables or disables
Principalssharing in the portfolio. If this field is not provided, the current state of thePrincipalssharing on the portfolio share will not be modified.- Returns:
- A flag to enables or disables
Principalssharing in the portfolio. If this field is not provided, the current state of thePrincipalssharing on the portfolio share will not be modified.
-
toBuilder
public UpdatePortfolioShareRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<UpdatePortfolioShareRequest.Builder,UpdatePortfolioShareRequest>- Specified by:
toBuilderin classServiceCatalogRequest
-
builder
public static UpdatePortfolioShareRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends UpdatePortfolioShareRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin 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.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
-